Make the default behavior in line with what is logged

This commit is contained in:
Frisk 2023-09-28 19:45:03 +02:00
parent bcdaef8bcf
commit 5d7ee0f6cc

View file

@ -249,6 +249,8 @@ def rc_processor(change, changed_categories):
return
try:
discord_message: Optional[DiscordMessage] = default_message(context.event, formatter_hooks)(context, change)
except NoFormatter:
return
except:
if settings.get("error_tolerance", 1) > 0:
discord_message: Optional[DiscordMessage] = None # It's handled by send_to_discord, we still want other code to run