Print error when failing to close database

This commit is contained in:
Jesse Boyd 2017-04-09 17:09:06 +10:00
parent 6e0ade4f63
commit f99994737c
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -1579,6 +1579,7 @@ public class PS{
DBFunc.close();
UUIDHandler.handleShutdown();
} catch (NullPointerException ignored) {
ignored.printStackTrace();
PS.log("&cCould not close database connection!");
}
}