Skip to content

Commit

Permalink
[Reporting] Network Policy: Do not throw from the intercept handler
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Aug 14, 2020
1 parent 1626490 commit ab07ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export class HeadlessChromiumDriver {
if (!allowed || !this.allowRequest(interceptedUrl)) {
this.page.browser().close();
logger.error(getDisallowedOutgoingUrlError(interceptedUrl));
throw getDisallowedOutgoingUrlError(interceptedUrl);
return;
}
});

Expand Down

0 comments on commit ab07ade

Please sign in to comment.