From e3ee93d83879f54273fcc1cd6fb2ca42f5877182 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Tue, 9 Apr 2024 13:27:12 -0400 Subject: [PATCH] stop executeSlashCommand if parser throws --- public/scripts/slash-commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 6b7fb7dc0..c6213166d 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -1777,6 +1777,7 @@ async function executeSlashCommands(text, handleParserErrors = true, scope = nul 'SlashCommandParserError', { escapeHtml:false, timeOut: 10000, onclick:()=>callPopup(toast, 'text') }, ); + return; } else { throw e; }