Skip to content

Commit

Permalink
fix: tests for web
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiragAgg5k committed Jan 27, 2025
1 parent 120ec68 commit 47577e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/web/src/client.ts.twig
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ class Client {
}

if (400 <= response.status) {
throw new {{spec.title | caseUcfirst}}Exception(data?.message, response.status, data?.type, response.text);
throw new {{spec.title | caseUcfirst}}Exception(data?.message, response.status, data?.type, JSON.stringify(data));
}

const cookieFallback = response.headers.get('X-Fallback-Cookies');
Expand Down

0 comments on commit 47577e2

Please sign in to comment.