Log the previous exception during hard failure
* otherwise the exception that was caused by the template is logged Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
35e3d40e80
commit
affdb0e4d1
|
@ -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("More details can be found in the webserver log.\n");
|
||||
|
||||
throw $e;
|
||||
throw $ex;
|
||||
}
|
||||
OC_Template::printExceptionErrorPage($ex, 500);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue