Skip to content

Commit

Permalink
fix: fix broken specs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgz committed Feb 11, 2025
1 parent 3b4a8fa commit 19b151c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/lepus/consumer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def process_delivery(delivery_info, metadata, payload)
nest_middleware(middleware, next_middleware)
end
.call(message)
rescue Lepus::InvalidConsumerReturnError
raise
rescue Exception => ex # rubocop:disable Lint/RescueException
# @TODO: add error handling
logger.error(ex)
Expand Down

0 comments on commit 19b151c

Please sign in to comment.