Add is_api to utils log error
This commit is contained in:
parent
ab0d6ae4b2
commit
ae2f23da79
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue