1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for error logging

This commit is contained in:
Hillel Coren 2018-03-23 11:09:31 +03:00
parent f79db38c1b
commit 958e8fd29a

View File

@ -84,7 +84,7 @@ class Handler extends ExceptionHandler
if (config('app.log') == 'single') {
@file_put_contents(storage_path('logs/stacktrace.log'), $stacktrace, FILE_APPEND);
} else {
Utils::logError('[stacktrace] ' . $errorStr);
Utils::logError('[stacktrace] ' . $stacktrace);
}
return false;
} else {