Parcourir la source

simplify

tags/2.0.1
Jonathan Cobb il y a 5 ans
Parent
révision
b3457f6e99
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java

+ 1
- 1
src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java Voir le fichier

@@ -149,7 +149,7 @@ public class ZillaRuntime {
final String message = e.getMessage();
final Throwable cause = e.getCause();
if (errorApi != null) {
if (cause != null && cause instanceof Exception) errorApi.report(message, (Exception) cause);
if (cause instanceof Exception) errorApi.report(message, (Exception) cause);
else errorApi.report(e);
}
if (cause != null) log.error("Inner exception: " + message, cause);


Chargement…
Annuler
Enregistrer