Skip to content

Commit

Permalink
Removed ScriptError message check as the message gets translated
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed May 28, 2022
1 parent 86056c5 commit 3ea0092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
}
function moveErrorHandler(response: Error) {
if (response.name === "ScriptError" && response.message === "Exceeded maximum execution time") {
if (response.name === "ScriptError") {
move();
return;
}
Expand Down

0 comments on commit 3ea0092

Please sign in to comment.