diff --git a/Classes/Content/ProductionExceptionHandler.php b/Classes/Content/ProductionExceptionHandler.php index 3f6f0d0..387c2e5 100644 --- a/Classes/Content/ProductionExceptionHandler.php +++ b/Classes/Content/ProductionExceptionHandler.php @@ -25,8 +25,8 @@ public function handle( throw $exception; } - $eventId = GeneralUtility::makeInstance(Client::class)->captureException($exception); $errorMessage = parent::handle($exception, $contentObject, $contentObjectConfiguration); + $eventId = GeneralUtility::makeInstance(Client::class)->captureException($exception); if (ConfigurationService::showEventId()) { return sprintf('%s Event: %s', $errorMessage, $eventId);