From 15961f6ccef6150c19e4949384ed9d7d7aa0e278 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Wed, 12 Dec 2012 08:41:55 +0100 Subject: [PATCH] We can include the stack trace - it will only very rarely be printed. --- .../com/comphenix/protocol/error/DetailedErrorReporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/error/DetailedErrorReporter.java b/ProtocolLib/src/main/java/com/comphenix/protocol/error/DetailedErrorReporter.java index c14e6f33..baec9121 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/error/DetailedErrorReporter.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/error/DetailedErrorReporter.java @@ -147,7 +147,7 @@ public class DetailedErrorReporter implements ErrorReporter { // Nope - only print the error count occationally if (isPowerOfTwo(errorCount)) { logger.log(Level.SEVERE, "[" + PLUGIN_NAME + "] Unhandled exception number " + errorCount + " occured in " + - methodName + " for " + pluginName); + methodName + " for " + pluginName, error); } return false; }