Improved logging

This commit is contained in:
Haarolean 2018-04-13 23:13:02 +03:00
parent 69d31175d4
commit 272e7cf8dc

View File

@ -63,7 +63,7 @@ public class SshdPlugin extends JavaPlugin {
try { try {
sshd.start(); sshd.start();
} catch (IOException e) { } catch (IOException e) {
getLogger().severe("Failed to start SSH server! " + e.getMessage()); getLogger().log(Level.SEVERE, "Failed to start SSH server! ", e);
} }
} }