Skip to content
Snippets Groups Projects
Unverified Commit affdb0e4 authored by Morris Jobke's avatar Morris Jobke
Browse files

Log the previous exception during hard failure


* otherwise the exception that was caused by the template is logged

Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 35e3d40e
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ try { ...@@ -78,7 +78,7 @@ try {
print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n"); print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n");
print("More details can be found in the webserver log.\n"); print("More details can be found in the webserver log.\n");
throw $e; throw $ex;
} }
OC_Template::printExceptionErrorPage($ex, 500); OC_Template::printExceptionErrorPage($ex, 500);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment