From b536f7186a763733105e69353b701e02f6b35fb8 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 6 Sep 2017 19:39:35 +0000 Subject: [PATCH] More detailed message for threadpool execution exception. --- .../java/com/l2jmobius/gameserver/ThreadPoolManager.java | 2 +- .../java/com/l2jmobius/gameserver/ThreadPoolManager.java | 2 +- .../java/com/l2jmobius/gameserver/ThreadPoolManager.java | 2 +- .../java/com/l2jmobius/gameserver/ThreadPoolManager.java | 2 +- .../java/com/l2jmobius/gameserver/ThreadPoolManager.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/ThreadPoolManager.java b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/ThreadPoolManager.java index 2c327f5d8b..c9777e9c56 100644 --- a/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/ThreadPoolManager.java +++ b/L2J_Mobius_1.0_Ertheia/java/com/l2jmobius/gameserver/ThreadPoolManager.java @@ -292,7 +292,7 @@ public final class ThreadPoolManager } catch (RuntimeException e) { - LOG.warning("Exception in a Runnable execution: " + _runnable.getClass().getSimpleName() + " " + e); + LOG.warning("Exception in " + _runnable.getClass().getName() + " execution: " + e.getMessage()); } } } diff --git a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/ThreadPoolManager.java b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/ThreadPoolManager.java index 2c327f5d8b..c9777e9c56 100644 --- a/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/ThreadPoolManager.java +++ b/L2J_Mobius_2.5_Underground/java/com/l2jmobius/gameserver/ThreadPoolManager.java @@ -292,7 +292,7 @@ public final class ThreadPoolManager } catch (RuntimeException e) { - LOG.warning("Exception in a Runnable execution: " + _runnable.getClass().getSimpleName() + " " + e); + LOG.warning("Exception in " + _runnable.getClass().getName() + " execution: " + e.getMessage()); } } } diff --git a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/ThreadPoolManager.java b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/ThreadPoolManager.java index 2c327f5d8b..c9777e9c56 100644 --- a/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/ThreadPoolManager.java +++ b/L2J_Mobius_3.0_Helios/java/com/l2jmobius/gameserver/ThreadPoolManager.java @@ -292,7 +292,7 @@ public final class ThreadPoolManager } catch (RuntimeException e) { - LOG.warning("Exception in a Runnable execution: " + _runnable.getClass().getSimpleName() + " " + e); + LOG.warning("Exception in " + _runnable.getClass().getName() + " execution: " + e.getMessage()); } } } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/ThreadPoolManager.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/ThreadPoolManager.java index 644a6b79c0..69748c20d5 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/ThreadPoolManager.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/ThreadPoolManager.java @@ -292,7 +292,7 @@ public final class ThreadPoolManager } catch (RuntimeException e) { - LOG.warning("Exception in a Runnable execution: " + _runnable.getClass().getSimpleName() + " " + e); + LOG.warning("Exception in " + _runnable.getClass().getName() + " execution: " + e.getMessage()); } } } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/ThreadPoolManager.java b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/ThreadPoolManager.java index 2c327f5d8b..c9777e9c56 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/ThreadPoolManager.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/com/l2jmobius/gameserver/ThreadPoolManager.java @@ -292,7 +292,7 @@ public final class ThreadPoolManager } catch (RuntimeException e) { - LOG.warning("Exception in a Runnable execution: " + _runnable.getClass().getSimpleName() + " " + e); + LOG.warning("Exception in " + _runnable.getClass().getName() + " execution: " + e.getMessage()); } } }