Parcourir la source

These should be app errors

Change-Id: I1440821671aec7e50fa30aabd28b2ddd121e86eb
Reviewed-on: http://gerrit.dmdirc.com/3235
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.8rc3
Greg Holmes il y a 10 ans
Parent
révision
741c877400
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/com/dmdirc/plugins/PluginInfo.java

+ 2
- 2
src/com/dmdirc/plugins/PluginInfo.java Voir le fichier

@@ -754,7 +754,7 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
754 754
                             } catch (LinkageError | Exception e) {
755 755
                                 lastError = "Error in onLoad for "
756 756
                                         + metaData.getName() + ":" + e.getMessage();
757
-                                Logger.userError(ErrorLevel.MEDIUM, lastError, e);
757
+                                Logger.appError(ErrorLevel.MEDIUM, lastError, e);
758 758
                                 unloadPlugin();
759 759
                             }
760 760
                         }
@@ -843,7 +843,7 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
843 843
                 } catch (Exception | LinkageError e) {
844 844
                     lastError = "Error in onUnload for " + metaData.getName()
845 845
                             + ":" + e + " - " + e.getMessage();
846
-                    Logger.userError(ErrorLevel.MEDIUM, lastError, e);
846
+                    Logger.appError(ErrorLevel.MEDIUM, lastError, e);
847 847
                 }
848 848
 
849 849
                 ActionManager.getActionManager().triggerEvent(

Chargement…
Annuler
Enregistrer