diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-05 17:22:15 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-05 17:22:15 +0000 |
commit | 76f3df5d78d2579a496c93f6655df8c78f74c6b0 (patch) | |
tree | f07564bfe2839bef153022c95f1bf45119fbea3c | |
parent | 9d03b5f3570b35f0aac6cd7214d81960b70cc1fe (diff) | |
download | elgg-76f3df5d78d2579a496c93f6655df8c78f74c6b0.tar.gz elgg-76f3df5d78d2579a496c93f6655df8c78f74c6b0.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* 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
-rw-r--r-- | engine/lib/elgglib.php | 2 |
1 files changed, 2 insertions, 0 deletions
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);
|