Просмотр исходного кода

Stop doubly-unwrapping exceptions :/

pull/78/head
Chris Smith 9 лет назад
Родитель
Сommit
b66dd24cac
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
     }

Загрузка…
Отмена
Сохранить