소스 검색

Merge pull request #78 from csmith/master

Stop doubly-unwrapping exceptions :/
pull/79/head
Greg Holmes 9 년 전
부모
커밋
1c277c82a0
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1
    3
      common/src/com/dmdirc/parser/common/CallbackManager.java

+ 1
- 3
common/src/com/dmdirc/parser/common/CallbackManager.java 파일 보기

@@ -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…
취소
저장