mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-06 11:34:34 -04:00
Fail safe for the system logger
This commit is contained in:
parent
14beb4b14f
commit
f0d2e82d0c
@ -44,6 +44,9 @@ class SystemLogger implements ShouldQueue
|
|||||||
|
|
||||||
public function handle() :void
|
public function handle() :void
|
||||||
{
|
{
|
||||||
|
if(!$this->client)
|
||||||
|
return;
|
||||||
|
|
||||||
$sl = [
|
$sl = [
|
||||||
'client_id' => $this->client->id,
|
'client_id' => $this->client->id,
|
||||||
'company_id' => $this->client->company->id,
|
'company_id' => $this->client->company->id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user