mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Print error when failing to close database
This commit is contained in:
parent
6e0ade4f63
commit
f99994737c
@ -1579,6 +1579,7 @@ public class PS{
|
||||
DBFunc.close();
|
||||
UUIDHandler.handleShutdown();
|
||||
} catch (NullPointerException ignored) {
|
||||
ignored.printStackTrace();
|
||||
PS.log("&cCould not close database connection!");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user