util: use error log level for exception loggers

This commit is contained in:
Adam
2022-04-24 19:14:54 -04:00
parent fc1c12c0e3
commit d7f1681e6a
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ public class CallableExceptionLogger<V> implements Callable<V>
} }
catch (Throwable ex) catch (Throwable ex)
{ {
log.warn("Uncaught exception in callable {}", callable, ex); log.error("Uncaught exception in callable {}", callable, ex);
throw ex; throw ex;
} }
} }

View File

@@ -42,7 +42,7 @@ public class RunnableExceptionLogger implements Runnable
} }
catch (Throwable ex) catch (Throwable ex)
{ {
log.warn("Uncaught exception in runnable {}", runnable, ex); log.error("Uncaught exception in runnable {}", runnable, ex);
throw ex; throw ex;
} }
} }