Skip to content

Support chained exceptions #190

@cdemyanovich

Description

@cdemyanovich

In Ruby 2.1.0, Exception#cause was added. While @dcramer informed me in #sentry on irc.freenode.net that the Sentry server already supports chained exceptions, the Ruby client does not. I propose that we add support for chained exceptions to the Ruby client. We could just detect whether an exception responds to #cause and, if so, add the cause's message and backtrace to the exception report.

I'm just opening this for discussion now. I may propose this work as a "10% time" project at my current client or try to work on it myself as early as this weekend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions