mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Make the default behavior in line with what is logged
This commit is contained in:
parent
bcdaef8bcf
commit
5d7ee0f6cc
|
@ -249,6 +249,8 @@ def rc_processor(change, changed_categories):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
discord_message: Optional[DiscordMessage] = default_message(context.event, formatter_hooks)(context, change)
|
discord_message: Optional[DiscordMessage] = default_message(context.event, formatter_hooks)(context, change)
|
||||||
|
except NoFormatter:
|
||||||
|
return
|
||||||
except:
|
except:
|
||||||
if settings.get("error_tolerance", 1) > 0:
|
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
|
discord_message: Optional[DiscordMessage] = None # It's handled by send_to_discord, we still want other code to run
|
||||||
|
|
Loading…
Reference in a new issue