-
-
Notifications
You must be signed in to change notification settings - Fork 482
fix: ♻️ Handle exceptions during message edits in Paginator and BaseView timeouts #3019
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
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/3019/head:pr-3019
git checkout pr-3019This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3019/head |
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Paillat-dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, merge conflicts.
Co-authored-by: Paillat <jeremiecotti@ik.me> Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Paillat-dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore my other first comment; merge conflicts
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
Paillat-dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved so long that @NeloBlivion does as well since they're the most knowledgeable on views inner workings and possible edge cases
| - Fixed `BaseView.on_timeout` and `Paginator.on_timeout` behavior: views no longer raise | ||
| errors on timeout. ([#3019](https://github.com/Pycord-Development/pycord/pull/3019)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is confusing - people might want views to raise errors when the errors are legitimate - just not when the issue is cause by a 404 / 403.
Summary
Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.