Quellcode durchsuchen

Random unhandled exceptions are our fault.

Closes #681
pull/471/head
Chris Smith vor 8 Jahren
Ursprung
Commit
49d62a7699

+ 2
- 2
ui_swing/src/com/dmdirc/addons/ui_swing/components/SupplierLoggingSwingWorker.java Datei anzeigen

30
 import org.slf4j.Logger;
30
 import org.slf4j.Logger;
31
 import org.slf4j.LoggerFactory;
31
 import org.slf4j.LoggerFactory;
32
 
32
 
33
-import static com.dmdirc.util.LogUtils.USER_ERROR;
33
+import static com.dmdirc.util.LogUtils.APP_ERROR;
34
 
34
 
35
 /**
35
 /**
36
  * {@link LoggingSwingWorker} that runs a {@link Supplier}.
36
  * {@link LoggingSwingWorker} that runs a {@link Supplier}.
98
         } catch (InterruptedException ex) {
98
         } catch (InterruptedException ex) {
99
             //Ignore
99
             //Ignore
100
         } catch (ExecutionException ex) {
100
         } catch (ExecutionException ex) {
101
-            LOG.warn(USER_ERROR, ex.getMessage(), ex);
101
+            LOG.warn(APP_ERROR, ex.getMessage(), ex);
102
         }
102
         }
103
     }
103
     }
104
 
104
 

Laden…
Abbrechen
Speichern