Skip to content

Commit 901ccf5

Browse files
committed
Add request url to exception payload to enable tracking in sentry
1 parent c662316 commit 901ccf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export async function handleFetch(request: string, options?: RequestInit) {
200200
console.log(`response`, response);
201201
throw new Error(
202202
`Fetch error:${JSON.stringify({
203+
request,
203204
status: response.status,
204205
...mapKeysToCamel(json),
205206
})}`,

0 commit comments

Comments
 (0)