From 28e93b0b30bae85b3fd8a6f4348468a4695dbdb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 13 Dec 2010 21:06:18 +0100 Subject: [PATCH] Log exception on shutdown. --- src/main/java/net/pterodactylus/sone/main/SonePlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index 1f2622c..5199af6 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -224,6 +224,8 @@ public class SonePlugin implements FredPlugin, FredPluginL10n, FredPluginBaseL10 /* stop the identity manager. */ identityManager.stop(); + } catch (Throwable t1) { + logger.log(Level.SEVERE, "Error while shutting down!", t1); } finally { /* shutdown logger. */ Logging.shutdown(); -- 2.7.4