Icinga.Loader#onFailure(): treat 5xx response as connection failure

... not to break the container with the reverse proxy's response not fitting into our layout.

refs #4133
This commit is contained in:
Alexander A. Klimov 2020-04-22 11:04:25 +02:00 committed by Johannes Meyer
parent 511f47af3a
commit 4232a344b7
1 changed files with 1 additions and 1 deletions

View File

@ -939,7 +939,7 @@
this.icinga.timer.unregister(req.progressTimer);
}
if (req.status > 0) {
if (req.status > 0 && req.status < 501) {
this.icinga.logger.error(
req.status,
errorThrown + ':',