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