From 272e7cf8dce63f2657d91450ebd3ec548cbd3bd6 Mon Sep 17 00:00:00 2001 From: Haarolean Date: Fri, 13 Apr 2018 23:13:02 +0300 Subject: [PATCH] Improved logging --- src/main/java/com/ryanmichela/sshd/SshdPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ryanmichela/sshd/SshdPlugin.java b/src/main/java/com/ryanmichela/sshd/SshdPlugin.java index 3340c5c..599258a 100644 --- a/src/main/java/com/ryanmichela/sshd/SshdPlugin.java +++ b/src/main/java/com/ryanmichela/sshd/SshdPlugin.java @@ -63,7 +63,7 @@ public class SshdPlugin extends JavaPlugin { try { sshd.start(); } catch (IOException e) { - getLogger().severe("Failed to start SSH server! " + e.getMessage()); + getLogger().log(Level.SEVERE, "Failed to start SSH server! ", e); } }