mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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…
x
Reference in New Issue
Block a user