Sfoglia il codice sorgente

first log the exception

tags/v6.0.0alpha2
Thomas Müller 10 anni fa
parent
commit
5acb3c4c0d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      index.php

+ 1
- 1
index.php Vedi File

@@ -31,7 +31,7 @@ try {

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

Loading…
Annulla
Salva