瀏覽代碼

simplify

tags/2.0.1
Jonathan Cobb 5 年之前
父節點
當前提交
b3457f6e99
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java

+ 1
- 1
src/main/java/org/cobbzilla/util/daemon/ZillaRuntime.java 查看文件

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


Loading…
取消
儲存