Skip to content

Commit

Permalink
log exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybrad committed Nov 22, 2023
1 parent 56bdd3d commit d8b6e49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/event/SqsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function handleSqs(SqsEvent $event, Context $context): void
'command' => "cloud/queue/exec {$jobId}",
], $context, true);
} catch (Throwable $e) {
echo "Exception class: ".get_class($e)."\n";
if ($e instanceof ProcessTimedOutException) {
$process = $e->getProcess();

Expand Down

0 comments on commit d8b6e49

Please sign in to comment.