getsentry/raven-ruby — pull request #31 by myronmarston (2012-10-12 16:40:56+00:00)
Title: Don't subclass `Exception`.

Most errors should subclass `StandardError`. A bare rescue will not catch `Exception`-subclassed errors; that's be design because `Exception`-subclassed errors are intended for situations like signals (e.g. when a user halts a script with "ctrl-c") or fatal situations like out-of-memory.

See http://www.codeotaku.com/blog/2009-08/ruby-standard-error/index for more info on the design of Ruby's exception hierarchy.

(BTW, I also submitted a PR to coderanger/raven-ruby#1, but I noticed that the other PRs had been submitted and pulled in from getsentry/raven-ruby, so I'm resubmitting this. I'm a bit confused about coderanger/raven-ruby vs getsentry/raven-ruby as they both seem to have recent activity from @dcramer).