Browse Source

Stop doubly-unwrapping exceptions :/

pull/78/head
Chris Smith 9 years ago
parent
commit
b66dd24cac
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      common/src/com/dmdirc/parser/common/CallbackManager.java

+ 1
- 3
common/src/com/dmdirc/parser/common/CallbackManager.java View File

@@ -87,9 +87,7 @@ public class CallbackManager extends MBassador<ParserEvent> {
87 87
             }
88 88
 
89 89
             synchronized (errorHandlerLock) {
90
-                publish(new ParserErrorEvent(parser, new Date(), new Exception(
91
-                        "Message: " + e.getCause().getCause().getMessage() + " in Handler: "
92
-                                + e.getHandler(), e.getCause().getCause())));
90
+                publish(new ParserErrorEvent(parser, new Date(), e.getCause()));
93 91
             }
94 92
         });
95 93
     }

Loading…
Cancel
Save