mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add is_api to utils log error
This commit is contained in:
parent
ab0d6ae4b2
commit
ae2f23da79
@ -394,6 +394,7 @@ class Utils
|
||||
'ip' => Request::getClientIp(),
|
||||
'count' => Session::get('error_count', 0),
|
||||
'is_console' => App::runningInConsole() ? 'yes' : 'no',
|
||||
'is_api' => session('token_id') ? 'yes' : 'no',
|
||||
];
|
||||
|
||||
if ($info) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user