ソースを参照

Merge pull request #471 from csmith/master

Random unhandled exceptions are our fault.
pull/474/head
Greg Holmes 8年前
コミット
02452817dd

+ 2
- 2
ui_swing/src/com/dmdirc/addons/ui_swing/components/SupplierLoggingSwingWorker.java ファイルの表示

@@ -30,7 +30,7 @@ import java.util.function.Supplier;
30 30
 import org.slf4j.Logger;
31 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 36
  * {@link LoggingSwingWorker} that runs a {@link Supplier}.
@@ -98,7 +98,7 @@ public class SupplierLoggingSwingWorker<T, V> extends LoggingSwingWorker<T, V> {
98 98
         } catch (InterruptedException ex) {
99 99
             //Ignore
100 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
 

読み込み中…
キャンセル
保存