소스 검색

Random unhandled exceptions are our fault.

Closes #681
pull/471/head
Chris Smith 8 년 전
부모
커밋
49d62a7699
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      ui_swing/src/com/dmdirc/addons/ui_swing/components/SupplierLoggingSwingWorker.java

+ 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
 

Loading…
취소
저장