Skip to content

Commit

Permalink
added more logger messages
Browse files Browse the repository at this point in the history
  • Loading branch information
raghuramg committed Feb 3, 2025
1 parent c78a55e commit 26dcc20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/event_source/protocols/amqp/bunny_queue_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ def decode_payload(payload)
output.value!
else
logger.error "Failed to decode message \n due to: #{output.failure} \n payload: #{payload}"
logger.error payload.encoding if payload.respond_to?(:encoding)
logger.error payload.inspect
logger.error '*' * 40
raise EventSource::Error::PayloadDecodeError, output.failure
end
end
Expand Down

0 comments on commit 26dcc20

Please sign in to comment.