Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-02 00:27:54 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-11-02 00:27:56 +0300
commitaffdb0e4d1b339547c15292a7323b0708d8fb07c (patch)
tree0129a0e070197875cd1ad546df2cb109a907c0ae /index.php
parent35e3d40e803653e2fdfcd775eefc2d8a9a183d80 (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>
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);
}