mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
properly display error
This commit is contained in:
parent
d13e56324b
commit
b1722564db
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ module.exports = {
|
|||
}))
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
return editOrReply(context, createEmbed("error", context, e.response.body.message))
|
||||
return editOrReply(context, createEmbed("error", context, e.response.body.error.message))
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue