mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for null exception in failed method
This commit is contained in:
parent
e750f45750
commit
5c16821fb9
@ -244,10 +244,10 @@ class WebhookSingle implements ShouldQueue
|
|||||||
return $this->company->clients()->first();
|
return $this->company->clients()->first();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function failed($exception)
|
public function failed($exception = null)
|
||||||
{
|
{
|
||||||
|
if($exception)
|
||||||
nlog(print_r($exception->getMessage(), 1));
|
nlog($exception->getMessage());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user