Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
Merge pull request #72 from bendavis78/master
Browse files Browse the repository at this point in the history
Allow exception to bubble up naturally during Shell make_context callback
  • Loading branch information
techniq committed Aug 13, 2013
2 parents ef57ce5 + af0596e commit f26b0ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flask_script/__init__.py
Expand Up @@ -362,7 +362,5 @@ def run(self, commands=None, default_command=None):
result = self.handle(sys.argv[0], sys.argv[1:])
except SystemExit as e:
result = e.code
except Exception as e:
raise e

sys.exit(result or 0)

0 comments on commit f26b0ca

Please sign in to comment.