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

Extra exception handling to catch interrupted errors #26

Merged
merged 8 commits into from
Jul 31, 2024

Conversation

Dinty1
Copy link
Contributor

@Dinty1 Dinty1 commented Jul 28, 2024

No description provided.

Copy link
Collaborator

@Vankka Vankka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has to be duplicated for editMessage, this also does not compile

@Dinty1
Copy link
Contributor Author

Dinty1 commented Jul 30, 2024

Still doesn't compile on my end but that might be because my dev environment is messed up.

@Dinty1 Dinty1 requested a review from Vankka July 30, 2024 12:35
Copy link
Collaborator

@Vankka Vankka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See in-line comments.

The exception handling matches on both these places that could be extracted to a method but not required

JDA5 module should also match these changes

}
return currentMessage;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please throw here as it did previously and only return when a interrupt is hit

}
return currentMessage;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please throw here as it did previously and only return when a interrupt is hit

Copy link
Contributor

@granny granny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nitpicks

Scarsz and others added 3 commits July 30, 2024 22:30
Co-authored-by: granny <[email protected]>
Co-authored-by: granny <[email protected]>
@Scarsz Scarsz merged commit f446284 into Scarsz:develop Jul 31, 2024
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.

4 participants