From 3ea0092da692f63ecb0a2673fe596726f836005e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Sat, 28 May 2022 14:01:49 +0200 Subject: [PATCH] Removed ScriptError message check as the message gets translated --- src/frontend/App.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/App.svelte b/src/frontend/App.svelte index dd6cceb0..4a4145ed 100644 --- a/src/frontend/App.svelte +++ b/src/frontend/App.svelte @@ -137,7 +137,7 @@ } function moveErrorHandler(response: Error) { - if (response.name === "ScriptError" && response.message === "Exceeded maximum execution time") { + if (response.name === "ScriptError") { move(); return; }