Log suppressed autocomplete exceptions

This commit is contained in:
Rapptz 2023-09-16 22:34:33 -04:00
parent 3530a0f2a8
commit 9e2f2cb3af

View File

@ -1240,7 +1240,7 @@ class CommandTree(Generic[ClientT]):
await command._invoke_autocomplete(interaction, focused, namespace)
except Exception:
# Suppress exception since it can't be handled anyway.
pass
_log.exception('Ignoring exception in autocomplete for %r', command.qualified_name)
return