1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Dirkjan Bussink
68f09786ff Use a regular object instead of a mock for exception data
This test doesn't assert anything about the test data itself. Therefore
using a regular object is fine.

This also fixes the build for Rubinius. The problem is that a minitest
mock object removes all kinds of methods that should be there. Since
exception_data is for example used in an array later on, it should
respond to methods like equal? and == in order to be able to behave
properly in an array.

In MRI you can get away with this, because once you go into C land, you
don't go back to Ruby until you're done. This means you can remove
methods that data structures normally depend on without MRI breaking.
2012-11-05 23:04:28 +01:00
Mike Perham
75e2788bbf cleanup 2012-11-03 20:47:45 -07:00
Teng Siong Ong
4da2757801 use honeybadger for exception. 2012-10-26 20:33:54 -07:00
Ezekiel Templin
22381aa13b Use Airbrake#notify_or_ignore 2012-09-06 18:50:15 +01:00
John Firebaugh
aad8a3a1c5 Actually deliver the exception notifications 2012-08-15 14:15:10 -07:00
Mike Perham
36801315d6 Rework error handling to work with watchdog 2012-08-02 20:48:49 -07:00
Mike Subelsky
0622ac3192 extract error handling middleware into processor-level code 2012-07-31 14:30:34 -04:00