Skip to content

Commit

Permalink
[Reporting] Network Policy: Do not throw from the intercept handler (e…
Browse files Browse the repository at this point in the history
…lastic#75105)

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

Please sign in to comment.