mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01: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();
|
||||
}
|
||||
|
||||
public function failed($exception)
|
||||
public function failed($exception = null)
|
||||
{
|
||||
|
||||
nlog(print_r($exception->getMessage(), 1));
|
||||
if($exception)
|
||||
nlog($exception->getMessage());
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user