Handling errors notifications that resolve after several retries

69 views
Skip to first unread message

Jonathan Mui

unread,
Mar 14, 2016, 5:51:18 PM3/14/16
to Sidekiq
My application makes an API call to a third-party API service and will occasionally get a temporary error like`Errno::ECONNRESET: Connection reset by peer - SSL_connect`. After a few retries, it resolves itself. However, after the first failure, the exception will automatically be captured by Honeybadger. 

I'd ideally like to only be notified if it's a very persistent problem (ie. exceptions notified after 10 failed retries). I'm not sure if there's something I can do from the Sidekiq side to address this issue or if would be entirely reliant on Honeybadger's notification patterns. 

Thanks!

Mike Perham

unread,
Mar 14, 2016, 7:04:56 PM3/14/16
to sid...@googlegroups.com
You can handle that in your application code by rescheduling manually for X tries and then raising after that.

--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+u...@googlegroups.com.
To post to this group, send email to sid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/4098feb5-c726-4412-94e0-5e33f6fcf267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Mike Perham – CEO, Contributed Systems
Smart, effective open source infrastructure for your apps.
Reply all
Reply to author
Forward
0 new messages