Skip to content

Commit b9612d9

Browse files
committed
chore: add more error logging
1 parent e7c0e2d commit b9612d9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'jellycommands': patch
3+
---
4+
5+
add more error logging

packages/jellycommands/src/util/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function createRequest(token: string) {
2626

2727
if (errors || _errors)
2828
console.error(
29-
`[DISCORD API ERROR] ${JSON.stringify(
29+
`[DISCORD API ERROR] ${method.toUpperCase()} ${route}] ${JSON.stringify(
3030
errors || _errors,
3131
null,
3232
4,

0 commit comments

Comments
 (0)