Browse Source

Plugin loading errors are app errors.

Change-Id: I71f3a6fb702a7e2935c28db37be1e03623c469f0
Reviewed-on: http://gerrit.dmdirc.com/3227
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.8rc1
Greg Holmes 10 years ago
parent
commit
36986ce637
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/dmdirc/plugins/PluginInfo.java

+ 1
- 1
src/com/dmdirc/plugins/PluginInfo.java View File

@@ -610,7 +610,7 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
610 610
             } catch (LinkageError | Exception e) {
611 611
                 lastError = "Error in onLoad for " + metaData.getName() + ":"
612 612
                         + e.getMessage();
613
-                Logger.userError(ErrorLevel.MEDIUM, lastError, e);
613
+                Logger.appError(ErrorLevel.MEDIUM, lastError, e);
614 614
                 unloadPlugin();
615 615
             }
616 616
         } else {

Loading…
Cancel
Save