Ver código fonte

simplify

tags/2.0.1
Jonathan Cobb 5 anos atrás
pai
commit
b3457f6e99
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java

+ 1
- 1
src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java Ver arquivo

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


Carregando…
Cancelar
Salvar