Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-48760: Simplify if underlying exception has no message #370

Merged
merged 3 commits into from
Feb 4, 2025

Conversation

rra
Copy link
Member

@rra rra commented Feb 4, 2025

In SlackWebException.from_exception and SentryWebException.from_exception, the message of the created SlackWebException is based on the type name and message of the underlying exception. However, some underlying exceptions, such as timeout errors, may have no message. In that case, drop the trailing colon and space and set the message of SlackWebException and SentryWebException to only the name of the type of the underlying exception.

rra added 3 commits February 3, 2025 16:59
In `SlackWebException.from_exception`, the message of the created
`SlackWebException` is based on the type name and message of the
underlying exception. However, some underlying exceptions, such as
timeout errors, may have no message. In that case, drop the trailing
colon and space and set the message of `SlackWebException` to only
the name of the type of the underlying exception.
Flesh out the change log entry for Sentry integration helpers.
Similar to `SlackWebException`, simplify the message of
`SentryWebException` if the underlying exception has no message.
@rra rra merged commit 13fbe79 into main Feb 4, 2025
7 checks passed
@rra rra deleted the tickets/DM-48760 branch February 4, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant