mirror of
https://github.com/danbulant/discord.js
synced 2026-06-22 00:02:13 +00:00
Webpack build for branch master: 4422f2aa8a
This commit is contained in:
parent
d335b09872
commit
95b1a5a395
2 changed files with 3 additions and 1 deletions
|
|
@ -17263,6 +17263,8 @@ class DiscordAPIError extends Error {
|
|||
|
||||
if (obj[k]._errors) {
|
||||
messages.push(`${newKey}: ${obj[k]._errors.map(e => e.message).join(' ')}`);
|
||||
} else if (obj[k].code && obj[k].message) {
|
||||
messages.push(`${obj[k].code}: ${obj[k].message}`);
|
||||
} else {
|
||||
messages = messages.concat(this.flattenErrors(obj[k], newKey));
|
||||
}
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue