From facfc5600be6826cb1dec34696d64a354aa33990 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sat, 6 Apr 2024 13:06:07 +0530 Subject: [PATCH] alert while error --- src/js/macros.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/macros.js b/src/js/macros.js index 299ef82..b6b7cc0 100644 --- a/src/js/macros.js +++ b/src/js/macros.js @@ -116,7 +116,7 @@ module.exports = { } else if (response.status == 400) { return (this.GCodeNotFound = true); } else { - console.error("error loading"); + return alert("error loading"); } } else { this.newGcode = "";