Print exception in task

This commit is contained in:
Andrew Steinborn
2018-12-16 13:41:23 -05:00
parent ca915a44a9
commit 5be64565e9

View File

@@ -173,7 +173,7 @@ public class VelocityScheduler implements Scheduler {
try { try {
runnable.run(); runnable.run();
} catch (Exception e) { } catch (Exception e) {
Log.logger.error("Exception in task {} by plugin {}", runnable, plugin); Log.logger.error("Exception in task {} by plugin {}", runnable, plugin, e);
} finally { } finally {
currentTaskThread = null; currentTaskThread = null;
} }