Merge pull request #27907 from blaggacao/fix/cli-wrapper-helper
fix: cli helper wrapper (oversight #27753)
This commit is contained in:
commit
7bc23e783e
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def FrappeClickWrapper(cls, handler):
|
|||
def invoke(self, ctx):
|
||||
try:
|
||||
return super().invoke(ctx)
|
||||
except click.ClickException as e:
|
||||
except (click.ClickException, click.exceptions.Exit, click.exceptions.Abort) as e:
|
||||
raise e
|
||||
except Exception as exc:
|
||||
# call the handler
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue