diff --git a/src/octoprint/static/js/app/viewmodels/terminal.js b/src/octoprint/static/js/app/viewmodels/terminal.js index b114ee942..05d649e19 100644 --- a/src/octoprint/static/js/app/viewmodels/terminal.js +++ b/src/octoprint/static/js/app/viewmodels/terminal.js @@ -286,7 +286,7 @@ $(function () { display = "line"; } - if (type === undefined) { + if (type === undefined || typeof type != "string") { if (line.startsWith("Recv:")) { type = "recv"; } else if (line.startsWith("Send:")) {