Skip to content

Commit

Permalink
log path
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Nov 27, 2024
1 parent 9d6b686 commit a21f190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class XOXNOClient {
message = text
}

throw new Error(message.message)
throw new Error(`${path}: ${message.message}`)
}

return res.json() as T
Expand Down

0 comments on commit a21f190

Please sign in to comment.