Print exception in task
This commit is contained in:
@@ -173,7 +173,7 @@ public class VelocityScheduler implements Scheduler {
|
||||
try {
|
||||
runnable.run();
|
||||
} 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 {
|
||||
currentTaskThread = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user