diff --git a/client-src/overlay.js b/client-src/overlay.js index 818c3e4d0b..900ef2e848 100644 --- a/client-src/overlay.js +++ b/client-src/overlay.js @@ -131,7 +131,8 @@ function show(messages, type) { const entryElement = document.createElement("div"); const typeElement = document.createElement("span"); - typeElement.innerText = type === "warnings" ? "Warning:" : "Error:"; + typeElement.innerText = + (type === "warnings" ? "Warning:" : "Error:") + message.file || ""; typeElement.style.color = `#${colors.red}`; // Make it look similar to our terminal.