Be more verbose in handleCrash(Throwable).

This commit is contained in:
Ali Moghnieh 2017-07-03 14:24:43 +01:00
parent 781204aa20
commit 243e69649f
No known key found for this signature in database
GPG Key ID: F09D3A1BAF2E6D70
1 changed files with 1 additions and 0 deletions

View File

@ -667,6 +667,7 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
private void handleCrash(Throwable exception) {
final PluginManager pm = getServer().getPluginManager();
LOGGER.log(Level.SEVERE, exception.toString());
exception.printStackTrace();
pm.registerEvents(new Listener() {
@EventHandler(priority = EventPriority.LOW)
public void onPlayerJoin(final PlayerJoinEvent event) {