getsentry/raven-ruby — pull request #141 by keithpitt (2013-11-13 04:04:19+00:00)
Title: Show the last 10 lines of the backtrace is sending raises an error

If sending an error breaks, you get a pretty cryptic error message. We got:

```bash
Nov 13 14:20:28 appserver-staging-a staging.log: ** [Raven] Raven HTTP Transport connecting to https://app.getsentry.com
Nov 13 14:20:28 appserver-staging-a staging.log: ** [Raven] Unable to record event with remote Sentry server (NoMethodError - undefined method `[]=' for true:TrueClass)
```

We saw this in our staging logs. It ended up being user error (I added Raven.config.ssl = true, when that's not a thing). But having a small backtrace so I can `bundle open` locally would have been handy.