From fb0d44809972fc0e42d4b1a064ab2388a97f3372 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 13 Jun 2017 20:19:47 +0300 Subject: [PATCH] Use ninja logging with self host installs --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index f3bf5fb04967..804e69b83131 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -63,7 +63,7 @@ class Handler extends ExceptionHandler return false; } - if (Utils::isNinja() && ! Utils::isTravis()) { + if (! Utils::isTravis()) { Utils::logError(Utils::getErrorString($e)); $stacktrace = date('Y-m-d h:i:s') . ' ' . $e->getTraceAsString(); @file_put_contents(storage_path('logs/stacktrace.log'), $stacktrace, FILE_APPEND);