From 76f3df5d78d2579a496c93f6655df8c78f74c6b0 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 5 Mar 2008 17:22:15 +0000 Subject: Marcus Povey * Exceptions that are handled by the default elgg error handler are now echoed to the error log. git-svn-id: https://code.elgg.org/elgg/trunk@80 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/lib/elgglib.php') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 78eb17daf..c69ff3d2f 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -496,6 +496,8 @@ */ function __elgg_php_exception_handler($exception) { + + error_log("*** FATAL EXCEPTION *** : " . $exception); $body = elgg_view("messages/exceptions/exception",array('object' => $exception)); echo page_draw("We've encountered a problem.", $body); -- cgit v1.2.3