aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-01 22:27:54 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-11-01 22:27:56 +0100
commitaffdb0e4d1b339547c15292a7323b0708d8fb07c (patch)
tree0129a0e070197875cd1ad546df2cb109a907c0ae /index.php
parent35e3d40e803653e2fdfcd775eefc2d8a9a183d80 (diff)
downloadnextcloud-server-affdb0e4d1b339547c15292a7323b0708d8fb07c.tar.gz
nextcloud-server-affdb0e4d1b339547c15292a7323b0708d8fb07c.zip
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>
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
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);
}