We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd6608 commit 06fde80Copy full SHA for 06fde80
.changeset/mighty-schools-happen.md
@@ -0,0 +1,5 @@
1
+---
2
+'jellycommands': patch
3
4
+
5
+improved API error format
packages/jellycommands/src/util/request.ts
@@ -34,7 +34,7 @@ export function createRequest(token: string) {
34
);
35
36
const error = message
37
- ? `[DISCORD API ERROR] ${message}`
+ ? `[DISCORD API ERROR] [${method.toUpperCase()} ${route}] ${message}`
38
: e.message;
39
40
throw new Error(error);
0 commit comments