Skip to content

Conversation

@odarriba
Copy link
Contributor

@odarriba odarriba commented Aug 6, 2024

This change updates how some Erlang errors are handled and ensure they are stored and shown properly.

The root issue was that some Erlang errors are received as tuples and we need to convert them to Elixir exception the same way as Phoenix does on their Error pages, by calling Exception.normalize.

We also fixed storing and showing stractrace information on those cases in which no file is reported.

Closes #35

@odarriba odarriba requested a review from crbelaus August 6, 2024 17:50
@odarriba odarriba self-assigned this Aug 6, 2024
@odarriba odarriba force-pushed the fix-some-exceptions-reporting branch from ea35ce0 to 145c68d Compare August 7, 2024 07:02
@odarriba odarriba added the bug Something isn't working label Aug 7, 2024
@crbelaus crbelaus modified the milestone: v0.2.0 Aug 7, 2024
@crbelaus
Copy link
Contributor

crbelaus commented Aug 7, 2024

I've tested this with multiple kind of errors (arithmetic errors, throws, exits, case clause errors, undefined function errors, etc) and it worked perfectly 👍

@crbelaus crbelaus requested a review from Zurga August 7, 2024 14:35
@crbelaus crbelaus merged commit 1956a56 into main Aug 7, 2024
@crbelaus crbelaus deleted the fix-some-exceptions-reporting branch August 7, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handler ErrorTracker.Integrations.Phoenix has failed and has been detached

4 participants