fix(chromium): add net::ERR_HTTP2_PROTOCOL_ERROR in the EventLoadingFailed list

This commit is contained in:
Alex Weston
2025-11-21 15:30:03 -05:00
committed by GitHub
parent dd07c73c28
commit 15fdc99ec0

View File

@@ -235,6 +235,7 @@ func listenForEventLoadingFailed(ctx context.Context, logger *zap.Logger, option
"net::ERR_BLOCKED_BY_CLIENT",
"net::ERR_BLOCKED_BY_RESPONSE",
"net::ERR_FILE_NOT_FOUND",
"net::ERR_HTTP2_PROTOCOL_ERROR",
}
if !slices.Contains(errors, ev.ErrorText) {
logger.Debug(fmt.Sprintf("skip EventLoadingFailed: '%s' is not part of %+v", ev.ErrorText, errors))