From f99994737c42fb23960d117fa516937b2c940e6b Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 9 Apr 2017 17:09:06 +1000 Subject: [PATCH] Print error when failing to close database --- Core/src/main/java/com/intellectualcrafters/plot/PS.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/PS.java b/Core/src/main/java/com/intellectualcrafters/plot/PS.java index a6af0ccc9..703747d19 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/PS.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/PS.java @@ -1579,6 +1579,7 @@ public class PS{ DBFunc.close(); UUIDHandler.handleShutdown(); } catch (NullPointerException ignored) { + ignored.printStackTrace(); PS.log("&cCould not close database connection!"); } }