From 5be64565e947a7518aaa7d2d6c08217ba4362ffd Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 16 Dec 2018 13:41:23 -0500 Subject: [PATCH] Print exception in task --- .../com/velocitypowered/proxy/scheduler/VelocityScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java b/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java index 83254cdf6..0d4ebe25e 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/scheduler/VelocityScheduler.java @@ -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; }