From 209d64e1d1d7ad6be11e92f622ec460abfc5a570 Mon Sep 17 00:00:00 2001 From: Nazar Leush Date: Sat, 27 Jun 2026 00:13:51 +0300 Subject: [PATCH] skip log `Z_DATA_ERROR` error --- lib/fetch.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fetch.js b/lib/fetch.js index 8aadf114d..a429cfc6f 100644 --- a/lib/fetch.js +++ b/lib/fetch.js @@ -43,7 +43,8 @@ export function skipLoggingFetchError(error) { || error?.code === 'ECONNRESET' || error?.code === 'ERR_STREAM_PREMATURE_CLOSE' || error?.code === 'ERR_HTTP2_STREAM_ERROR' - || error?.code === 'ERR_HTTP2_SESSION_ERROR'; + || error?.code === 'ERR_HTTP2_SESSION_ERROR' + || error?.code === 'Z_DATA_ERROR'; } function doFetch(fetch_func, h1_fetch_func, options) {