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:
parent
f5da1854e6
commit
fb0d448099
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user