diff --git a/src/Spryker/Zed/AppWebhook/Business/WebhookHandler/WebhookHandler.php b/src/Spryker/Zed/AppWebhook/Business/WebhookHandler/WebhookHandler.php index 2c459fe..5f8a3ea 100644 --- a/src/Spryker/Zed/AppWebhook/Business/WebhookHandler/WebhookHandler.php +++ b/src/Spryker/Zed/AppWebhook/Business/WebhookHandler/WebhookHandler.php @@ -77,6 +77,12 @@ public function handleWebhook(WebhookRequestTransfer $webhookRequestTransfer, We $this->appWebhookEntityManager->deleteWebhookRequest($webhookRequestTransfer); } } catch (Throwable $throwable) { + $this->getLogger()->error( + $throwable->getMessage(), + [ + 'request_data' => $webhookRequestTransfer->modifiedToArray(), + ], + ); $webhookResponseTransfer ->setIsSuccessful(false) ->setMessage($throwable->getMessage());