Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Oct 14, 2024
1 parent b338317 commit e198b38
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)
throw new Error(message.message)
}

return res.json() as T
Expand Down

0 comments on commit e198b38

Please sign in to comment.