mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
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:
parent
511f47af3a
commit
4232a344b7
@ -939,7 +939,7 @@
|
|||||||
this.icinga.timer.unregister(req.progressTimer);
|
this.icinga.timer.unregister(req.progressTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (req.status > 0) {
|
if (req.status > 0 && req.status < 501) {
|
||||||
this.icinga.logger.error(
|
this.icinga.logger.error(
|
||||||
req.status,
|
req.status,
|
||||||
errorThrown + ':',
|
errorThrown + ':',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user