1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Use ninja logging with self host installs

This commit is contained in:
Hillel Coren 2017-06-13 20:19:47 +03:00
parent f5da1854e6
commit fb0d448099

View File

@ -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);