twingly / twingly-amqp

:bus: Ruby gem for RabbitMQ subscribing and publishing
0 stars 0 forks source link

Log exceptions happening in on_exception #46

Closed dentarg closed 7 years ago

dentarg commented 8 years ago

I think it would be useful to log all exceptions happening in Subscription#on_exception, either by default, or that the user supply the logger (and we default to a null logger).

Example in one of our projects: https://github.com/twingly/wally/pull/47