Skip to content

Commit e334519

Browse files
committed
Log exception class
1 parent 90084d2 commit e334519

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Subscriber/EventSubscriber.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public function pushOrder(EntityWrittenEvent $event): void
109109
]);
110110
} catch (Exception $e) {
111111
$this->logger->error('[Picqer] Caught unexpected exception', [
112+
'exception' => get_class($e),
112113
'message' => $e->getMessage(),
113114
]);
114115
}

0 commit comments

Comments
 (0)