瀏覽代碼

log as index, not remote

tags/v6.0.0alpha2
Jörn Friedrich Dreyer 11 年之前
父節點
當前提交
9c9bfcd626
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      index.php

+ 2
- 2
index.php 查看文件

@@ -32,6 +32,6 @@ try {
} catch (Exception $ex) {
//show the user a detailed error page
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
\OCP\Util::writeLog('index', $ex->getMessage(), \OCP\Util::FATAL);
OC_Template::printExceptionErrorPage($ex);
}
}

Loading…
取消
儲存