Skip to content

Commit

Permalink
fix(apply): returns exit code when apply command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain authored and ankitrgadiya committed Aug 9, 2023
1 parent de7289c commit d77bb5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions riocli/apply/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def apply(self, *args, **kwargs):
except Exception as e:
spinner.text = 'Apply failed. Error: {}'.format(e)
spinner.red.fail(Symbols.ERROR)
raise SystemExit(1) from e

def apply_async(self, *args, **kwargs):
workers = int(kwargs.get('workers') or self.DEFAULT_MAX_WORKERS)
Expand Down

0 comments on commit d77bb5e

Please sign in to comment.