integration-docs: Limit client-side error reporting to 40x errors.

This commit is contained in:
Lauryn Menard 2024-09-13 16:47:19 +02:00 committed by Tim Abbott
parent 819c38bda8
commit f31371969d
1 changed files with 1 additions and 1 deletions

View File

@ -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,