mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:14:30 -04:00
Fix for error logging
This commit is contained in:
parent
f79db38c1b
commit
958e8fd29a
@ -84,7 +84,7 @@ class Handler extends ExceptionHandler
|
|||||||
if (config('app.log') == 'single') {
|
if (config('app.log') == 'single') {
|
||||||
@file_put_contents(storage_path('logs/stacktrace.log'), $stacktrace, FILE_APPEND);
|
@file_put_contents(storage_path('logs/stacktrace.log'), $stacktrace, FILE_APPEND);
|
||||||
} else {
|
} else {
|
||||||
Utils::logError('[stacktrace] ' . $errorStr);
|
Utils::logError('[stacktrace] ' . $stacktrace);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user