From 08a15d872429bb625b0ef69213a2dfcef52cddd0 Mon Sep 17 00:00:00 2001 From: Corpsee Date: Mon, 24 Mar 2014 23:43:20 +0700 Subject: [PATCH] Added exception context for errror/exception handler logging --- PHPCI/Logging/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Logging/Handler.php b/PHPCI/Logging/Handler.php index 36e80844..55e0e4a3 100644 --- a/PHPCI/Logging/Handler.php +++ b/PHPCI/Logging/Handler.php @@ -103,7 +103,7 @@ class Handler $message = sprintf( '%s: %s (uncaught exception) at %s line %s', get_class($exception), $exception->getMessage(), $exception->getFile(), $exception->getLine() ); - $this->logger->error($message); + $this->logger->error($message, array('exception' => $exception)); } } } \ No newline at end of file