Skip to content

Commit

Permalink
fix: add more catching try catch
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwwinter committed Oct 16, 2024
1 parent d82e9db commit e608411
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class DefaultNotificationEventConsumer(
logger.debug("Payload parsed: {}", payload)
try {
useCase.trigger(payload)
} catch (ex: AamException) {
} catch (ex: Exception) {
throw AmqpRejectAndDontRequeueException(
"[USECASE_ERROR] ${ex.localizedMessage}",
ex
Expand Down

0 comments on commit e608411

Please sign in to comment.