datatable.directory codebase
https://datatable.directory/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
715 B
18 lines
715 B
Index: vendor/monolog/monolog/src/Monolog/Logger.php
|
|
IDEA additional info:
|
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
<+>UTF-8
|
|
===================================================================
|
|
--- vendor/monolog/monolog/src/Monolog/Logger.php (revision )
|
|
+++ vendor/monolog/monolog/src/Monolog/Logger.php (revision )
|
|
@@ -285,6 +285,10 @@
|
|
*/
|
|
public function addRecord($level, $message, array $context = array())
|
|
{
|
|
+ if ($message instanceof \Throwable) {
|
|
+ $message = \MightyPork\Utils\Utils::getStackTraceAsString($message);
|
|
+ }
|
|
+
|
|
if (!$this->handlers) {
|
|
$this->pushHandler(new StreamHandler('php://stderr', static::DEBUG));
|
|
}
|
|
|