Skip to content

Commit 93b47ab

Browse files
[Reporting] Network Policy: Do not throw from the intercept handler (#75105) (#75367)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent 1f3c0e5 commit 93b47ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export class HeadlessChromiumDriver {
303303
if (!allowed || !this.allowRequest(interceptedUrl)) {
304304
this.page.browser().close();
305305
logger.error(getDisallowedOutgoingUrlError(interceptedUrl));
306-
throw getDisallowedOutgoingUrlError(interceptedUrl);
306+
return;
307307
}
308308
});
309309

0 commit comments

Comments
 (0)