mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Logging for webhook handler
This commit is contained in:
parent
4c3f466d58
commit
e6de7c9661
@ -64,7 +64,6 @@ class WebhookHandler implements ShouldQueue
|
|||||||
// generate JSON data
|
// generate JSON data
|
||||||
$manager = new Manager();
|
$manager = new Manager();
|
||||||
$manager->setSerializer(new ArraySerializer());
|
$manager->setSerializer(new ArraySerializer());
|
||||||
// $manager->parseIncludes($include);
|
|
||||||
|
|
||||||
$transformer = new $this->getTransformerClassName();
|
$transformer = new $this->getTransformerClassName();
|
||||||
|
|
||||||
@ -101,7 +100,8 @@ class WebhookHandler implements ShouldQueue
|
|||||||
|
|
||||||
public function failed($exception)
|
public function failed($exception)
|
||||||
{
|
{
|
||||||
$exception->getMessage();
|
|
||||||
// etc...
|
info(print_r($exception->getMessage(),1));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user