Explorar el Código

Random exceptions aren't the user's fault.

pull/322/head
Chris Smith hace 9 años
padre
commit
a483f3b26c

+ 2
- 2
ui_swing/src/com/dmdirc/addons/ui_swing/components/LoggingSwingWorker.java Ver fichero

@@ -23,7 +23,7 @@
23 23
 package com.dmdirc.addons.ui_swing.components;
24 24
 
25 25
 import com.dmdirc.DMDircMBassador;
26
-import com.dmdirc.events.UserErrorEvent;
26
+import com.dmdirc.events.AppErrorEvent;
27 27
 import com.dmdirc.logger.ErrorLevel;
28 28
 
29 29
 import java.util.concurrent.ExecutionException;
@@ -59,7 +59,7 @@ public abstract class LoggingSwingWorker<T, V> extends SwingWorker<T, V> {
59 59
         } catch (InterruptedException ex) {
60 60
             //Ignore
61 61
         } catch (ExecutionException ex) {
62
-            eventBus.publishAsync(new UserErrorEvent(ErrorLevel.MEDIUM, ex, ex.getMessage(), ""));
62
+            eventBus.publishAsync(new AppErrorEvent(ErrorLevel.MEDIUM, ex, ex.getMessage(), ""));
63 63
         }
64 64
     }
65 65
 

Loading…
Cancelar
Guardar