Print exception in task
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user