Skip to content

Commit

Permalink
fix: fetch to URL to string
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev committed Mar 8, 2023
1 parent ea696eb commit ba2f1f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class FetchInstrumentation extends InstrumentationBase<
): Promise<Response> {
const self = this;
const url = web.parseUrl(
args[0] instanceof Request ? args[0].url : args[0]
args[0] instanceof Request ? args[0].url : String(args[0])
).href;

const options = args[0] instanceof Request ? args[0] : args[1] || {};
Expand Down

0 comments on commit ba2f1f7

Please sign in to comment.