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
…75105) (#75367)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
tsullivan and elasticmachine committed Aug 18, 2020
1 parent 1f3c0e5 commit 93b47ab
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 93b47ab

Please sign in to comment.