diff options
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 9d2836a7..e3f7148f 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 |