-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fetching Audit Logs leads to Uncaught Promise Error if rejected #1471
Comments
You probably do not have permission to View Audit Logs. |
The issue, as reported, is that the lib is not correctly passing down the promise rejection. |
Oh. Welp. |
3 tasks
This was referenced Aug 1, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please describe the problem you are having in as much detail as possible:
Using
<Guild>.fetchAuditLogs
leads to an uncaught promise error, if the request is rejected by the Request Handler (like due to missing permissions).Using following piece:
Logs:
Further details:
The text was updated successfully, but these errors were encountered: