Skip to content

Commit

Permalink
better err mesg
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes committed Sep 25, 2023
1 parent 42232e3 commit 9f461bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/create-publish.mts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ if (res.ok) {
spin.fail(`Failed to publish global commands [Code: ${redBright(res.status)}]`);
switch(res.status) {
case 400 :
throw Error("400: Ensure your commands have proper fields and data and left nothing out");
throw Error("400: Ensure your commands have proper fields and data with left nothing out");
case 404 :
throw Error("Forbidden 404. Is you application id and/or token correct?")
}
Expand Down

0 comments on commit 9f461bb

Please sign in to comment.