Mike Perham
72fe3289ea
Merge branch 'master' into frozen
2016-04-21 13:15:00 -07:00
David
a1f98fbbf2
log context as a JSON string
2016-04-15 04:59:13 +00:00
Mike Perham
2c9f7662fc
Freeze all string literals in source, fixes #2741
...
Tests pass and smoke test works perfectly.
2015-12-31 15:33:35 -08:00
grosser
57a06d00d6
allow every test to be run with just ruby test/xxx_test.rb
2014-12-30 12:54:58 -08:00
Peter M. Goldstein
1379f5093e
Address assorted warnings
2014-03-19 17:47:08 -07:00
Mike Perham
f39be47e64
Add global error handler feature
2014-02-24 20:47:44 -08:00
Mike Perham
9dc4e065d5
Remove built-in error notification service support
2014-02-01 21:13:34 -08:00
Lee Henson
b4e6291ca7
don't fail when handling an exception with a nil backtrace
2013-10-07 15:00:20 +01:00
Mike Perham
babfdc96c5
Backport test suite to Minitest 4 so we can test against Rails 4.
2013-09-22 14:38:33 -07:00
Wes Morgan
777dd34a94
update exception_notification tests for 4.0.0
2013-07-15 17:09:58 -06:00
Mike Perham
dcf68b9624
Revert test change
2013-05-24 11:13:42 -07:00
Mike Perham
4679c95f49
Upgrade to Minitest 5
2013-05-12 14:25:30 -07:00
Dimko
7bd41fd7ef
Fixed ExceptionNotifier test
2013-05-07 20:18:06 +04:00
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