Merge pull request #27907 from blaggacao/fix/cli-wrapper-helper

fix: cli helper wrapper (oversight #27753)
This commit is contained in:
David Arnold 2024-09-26 12:51:53 +02:00 committed by GitHub
commit 7bc23e783e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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