Skip to content

Commit affdb0e

Browse files
committed
Log the previous exception during hard failure
* otherwise the exception that was caused by the template is logged Signed-off-by: Morris Jobke <[email protected]>
1 parent 35e3d40 commit affdb0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n");
7979
print("More details can be found in the webserver log.\n");
8080

81-
throw $e;
81+
throw $ex;
8282
}
8383
OC_Template::printExceptionErrorPage($ex, 500);
8484
}

0 commit comments

Comments
 (0)