Skip to content

Error not being sent to Sentry #4135

Open
@NicoloVersiro

Description

@NicoloVersiro

How do you use Sentry?

Sentry Saas (sentry.io)

Version

2.22.0

Steps to Reproduce

I inserted an error in get_data_from_dict2, and it didn't get logged in Sentry. I tried to insert it in get_predictions2 and the error was logged.
Image

Then I tried to call the function get_data_from_dict2 from a shallower call stack, and the error got logged.

Image
First call stack where error doesn't get logged.

Image
Second call stack where error gets logged.

Expected Result

The error should be logged regardless of the depth of the call stack.

Actual Result

Image
First error in get_predictions2 logged

Image
Second error logged from a shallower call stack

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions