diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 20e8fa661..2f9454223 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -500,7 +500,11 @@ this.icinga.ui.fixControls(); } } else if (req.status > 0) { - this.icinga.logger.error(req.status, errorThrown, req.responseText.slice(0, 100)); + this.icinga.logger.error( + req.status, + errorThrown + ':', + $(req.responseText).text().slice(0, 100) + ); this.renderContentToContainer( req.responseText, req.$target,