We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d864ba0 commit 831013fCopy full SHA for 831013f
sentry_sdk/utils.py
@@ -654,11 +654,7 @@ def get_errno(exc_value):
654
655
def get_error_message(exc_value):
656
# type: (Optional[BaseException]) -> str
657
- message = safe_str(
658
- getattr(exc_value, "message", "")
659
- or getattr(exc_value, "detail", "")
660
- or safe_str(exc_value)
661
- ) # type: str
+ message = safe_str(exc_value)
662
663
# __notes__ should be a list of strings when notes are added
664
# via add_note, but can be anything else if __notes__ is set
0 commit comments