Browse Source

Merge pull request #78 from csmith/master

Stop doubly-unwrapping exceptions :/
pull/79/head
Greg Holmes 9 years ago
parent
commit
1c277c82a0
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
             }
87
             }
88
 
88
 
89
             synchronized (errorHandlerLock) {
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