From: David ‘Bombe’ Roden Date: Mon, 13 Dec 2010 20:06:18 +0000 (+0100) Subject: Log exception on shutdown. X-Git-Tag: beta-freefall-0.6.2-1~184 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=28e93b0b30bae85b3fd8a6f4348468a4695dbdb0;p=Sone.git Log exception on shutdown. --- 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();