stop executeSlashCommand if parser throws

This commit is contained in:
LenAnderson
2024-04-09 13:27:12 -04:00
parent e652c65986
commit e3ee93d838

View File

@ -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;
}