Skip to content

Allow accessing and changing exception value in before_send handler #412

@limbonaut

Description

@limbonaut

Since we don't expose the Exception interface in the public API, it's not possible to read or change error messages in a before_send handler. Exposing the whole Exception interface is a big investment, so instead we could add the following API methods:

event.get_exception_value(index: int) -> String
event.set_exception_value(index: int, value: String)
event.get_exception_count() -> int

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions