mirror of https://github.com/zulip/zulip.git
integration-docs: Limit client-side error reporting to 40x errors.
This commit is contained in:
parent
819c38bda8
commit
f31371969d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue