Przeglądaj źródła

When handling exception log exception message rather generic message

Patrick Forget 11 lat temu
rodzic
commit
4a5a150d92
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Monolog/ErrorHandler.php

+ 1 - 1
src/Monolog/ErrorHandler.php

@@ -123,7 +123,7 @@ class ErrorHandler
     {
         $this->logger->log(
             $this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,
-            'Uncaught exception',
+            $e->getMessage(),
             array('exception' => $e)
         );