Skip to content

Commit

Permalink
function needs to be called for url's actual value
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfame committed Feb 1, 2018
1 parent f397cfc commit 24ef665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mcdetect.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var dirtyTargets = 0;
const failedReqs = {};

page.on('requestfailed', r => {
failedReqs[r._requestId] = r.url;
failedReqs[r._requestId] = r.url();
});

page._client.on('Network.loadingFailed', r => {
Expand Down

0 comments on commit 24ef665

Please sign in to comment.