mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
Print error when failing to close database
This commit is contained in:
parent
6e0ade4f63
commit
f99994737c
1 changed files with 1 additions and 0 deletions
|
@ -1579,6 +1579,7 @@ public class PS{
|
||||||
DBFunc.close();
|
DBFunc.close();
|
||||||
UUIDHandler.handleShutdown();
|
UUIDHandler.handleShutdown();
|
||||||
} catch (NullPointerException ignored) {
|
} catch (NullPointerException ignored) {
|
||||||
|
ignored.printStackTrace();
|
||||||
PS.log("&cCould not close database connection!");
|
PS.log("&cCould not close database connection!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue