From f31371969d70b625300a02b1e8be4eb1339d258a Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Fri, 13 Sep 2024 16:47:19 +0200 Subject: [PATCH] integration-docs: Limit client-side error reporting to 40x errors. --- web/src/portico/integrations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/portico/integrations.js b/web/src/portico/integrations.js index d1cb9388e2..0aedf12764 100644 --- a/web/src/portico/integrations.js +++ b/web/src/portico/integrations.js @@ -196,7 +196,7 @@ function hide_catalog_show_integration() { dataType: "html", success: hide_catalog, error(err) { - if (err.readyState !== 0) { + if (err.readyState !== 0 && err.status >= 400 && err.status < 500) { blueslip.error(`Integration documentation for '${state.integration}' not found.`, { readyState: err.readyState, status: err.status,