diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-02 00:27:54 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-11-02 00:27:56 +0300 |
commit | affdb0e4d1b339547c15292a7323b0708d8fb07c (patch) | |
tree | 0129a0e070197875cd1ad546df2cb109a907c0ae | |
parent | 35e3d40e803653e2fdfcd775eefc2d8a9a183d80 (diff) |
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>
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index ba83054ccca..7eabe64c160 100644 --- a/index.php +++ b/index.php @@ -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); } |