|
@@ -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
|
|