aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-05 17:22:15 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-05 17:22:15 +0000
commit76f3df5d78d2579a496c93f6655df8c78f74c6b0 (patch)
treef07564bfe2839bef153022c95f1bf45119fbea3c /engine/lib/elgglib.php
parent9d03b5f3570b35f0aac6cd7214d81960b70cc1fe (diff)
downloadelgg-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
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php2
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);