Commit c68c3d6
authored
fix: Cast message and detail attributes before appending exception notes (#5114)
Cast `message` and `detail` attributes on exceptions to string before
generating the `value` of the Sentry exception.
Prevents an unhandled `TypeError` when these attributes are `bytes`, as
`get_error_message()` attempts to append string exception notes.
Resolves the exception described in
#5050.1 parent 14aff96 commit c68c3d6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| |||
0 commit comments