Fix formatting of js error log entries generated from responses
Replace multiple whitespace characters with a single one and remove linebreaks. refs #8711
This commit is contained in:
parent
a4d815051c
commit
aa409bda72
|
@ -640,7 +640,7 @@
|
|||
this.icinga.logger.error(
|
||||
req.status,
|
||||
errorThrown + ':',
|
||||
$(req.responseText).text().slice(0, 100)
|
||||
$(req.responseText).text().replace(/\s+/g, ' ').slice(0, 100)
|
||||
);
|
||||
this.renderContentToContainer(
|
||||
req.responseText,
|
||||
|
|
Loading…
Reference in New Issue