mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
docs: fix typos (#9127)
* docs: fix typos * indicies -> indices * rename file --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -58,7 +58,7 @@ export function proxyRequests(rest: REST): RequestHandler {
|
||||
} else if (error instanceof Error && error.name === 'AbortError') {
|
||||
populateAbortErrorResponse(res);
|
||||
} else {
|
||||
// Unclear if there's better course of action here for unknown erorrs. Any web framework allows to pass in an error handler for something like this
|
||||
// Unclear if there's better course of action here for unknown errors. Any web framework allows to pass in an error handler for something like this
|
||||
// at which point the user could dictate what to do with the error - otherwise we could just 500
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user