diff --git a/sceptre/cli/helpers.py b/sceptre/cli/helpers.py index 69edba63f..c088491e9 100644 --- a/sceptre/cli/helpers.py +++ b/sceptre/cli/helpers.py @@ -30,14 +30,14 @@ def catch_exceptions(func): def decorated(*args, **kwargs): """ Invokes ``func``, catches expected errors, prints the error message and - exits sceptre with a non-zero exit code. + re-raises. """ try: return func(*args, **kwargs) except (SceptreException, BotoCoreError, ClientError, Boto3Error, TemplateError) as error: write(error) - sys.exit(1) + raise return decorated