Differentiate between two log messages
This commit is contained in:
parent
68aaf3c918
commit
a5fb3ee15f
@ -48,8 +48,8 @@ final class ThingsBoardScheduledThreadPoolExecutor extends ScheduledThreadPoolEx
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (directThrowable != null) {
|
if (directThrowable != null) { // should never be true since ScheduledThreadPoolExecutor wraps tasks in Future's
|
||||||
log.error("Uncaught error occurred during task execution!", directThrowable);
|
log.error("Caught direct throwable from task submitted to the scheduled thread pool executor!", directThrowable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user