Commits

Niklas Merkelt authored and md_5 committed 251a5b6382c
Explicitly log exception from asynchronous tasks.

Previously an UnhandledException would be thrown and the stack trace / message would be printed to System.err in the default UncaughtExceptionHandler for ThreadGroup. This was undesirable as it meant that logging frameworks / exception monitors such as Sentry were unable to get the exception. Additionally it would cause the death of the thread in the ExecutorService. This change mimics the behaviour of exceptions occuring during synchronous tasks.
No tags

src/main/java/org/bukkit/craftbukkit/scheduler/CraftAsyncTask.java

Modified

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut