diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 9d2836a75..e3f7148f2 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -48,6 +48,8 @@ def inject_context(ctx, coro): try: ret = yield from coro(*args, **kwargs) + except CommandError: + raise except Exception as e: raise CommandInvokeError(e) from e return ret