mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-13 19:01:52 +01:00
Print stack trace if debug is enabled.
This commit is contained in:
parent
01bf7d1389
commit
effad664d5
@ -439,6 +439,9 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
||||
return true;
|
||||
} catch (Exception ex) {
|
||||
showError(sender, ex, commandLabel);
|
||||
if(settings.isDebug()) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user