Include runnable class name to ThreadPool exception log.

This commit is contained in:
MobiusDevelopment
2021-11-09 23:24:25 +00:00
parent 98d6fed433
commit 8265c45d55
26 changed files with 78 additions and 78 deletions

View File

@ -108,7 +108,7 @@ public class ThreadPool
}
catch (Exception e)
{
LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace());
LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace());
return null;
}
}
@ -128,7 +128,7 @@ public class ThreadPool
}
catch (Exception e)
{
LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace());
LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace());
return null;
}
}
@ -145,7 +145,7 @@ public class ThreadPool
}
catch (Exception e)
{
LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace());
LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace());
}
}