Skip to content

Commit

Permalink
resourceType lowercase fix:
Browse files Browse the repository at this point in the history
follow up to #481, check reqresp.resourceType with lowercase value
  • Loading branch information
ikreymer committed Mar 5, 2024
1 parent 63cedbc commit eccd5d1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/util/recorder.ts
Expand Up @@ -636,18 +636,14 @@ export class Recorder {
});
} catch (e) {
const type = reqresp.resourceType;
if (type === "Document") {
if (type === "document") {
logger.debug(
"document not loaded in browser, possibly other URLs missing",
{ url, type: reqresp.resourceType },
{ url, type },
"recorder",
);
} else {
logger.debug(
"URL not loaded in browser",
{ url, type: reqresp.resourceType },
"recorder",
);
logger.debug("URL not loaded in browser", { url, type }, "recorder");
}
}

Expand Down

0 comments on commit eccd5d1

Please sign in to comment.