diff --git a/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogs.js b/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogs.js index 61867c6a6b..e07b007bf2 100644 --- a/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogs.js +++ b/services/web/frontend/js/ide/human-readable-logs/HumanReadableLogs.js @@ -48,7 +48,10 @@ export default { ) if (Array.isArray(message)) { entry.message = message[0] - entry.messageComponent = message[1] + // removing the messageComponent, as the markup possible in it was causing crashes when + // attempting to broadcast it in the detach-context (cant structuredClone an html node) + // see https://github.com/overleaf/internal/discussions/15031 for context + // entry.messageComponent = message[1] } else { entry.message = message }