mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
[trunk] Better log of command errors
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1224 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
981f08405f
commit
a1b89ee75c
1 changed files with 1 additions and 0 deletions
|
@ -572,6 +572,7 @@ public class Essentials extends JavaPlugin
|
|||
catch (Throwable ex)
|
||||
{
|
||||
sender.sendMessage(ChatColor.RED + "Error: " + ex.getMessage());
|
||||
logger.log(Level.WARNING, "Error calling command /"+commandLabel, ex);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue