Skip to content

Commit

Permalink
Propagation of the keyboard interrupt and system exit exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 7, 2019
1 parent c6bf3bb commit adbc288
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/appier/base.py
Expand Up @@ -1423,6 +1423,8 @@ def application_l(self, environ, start_response):
else: raise exceptions.OperationalError(
message = "No message size defined for generator"
)
except (KeyboardInterrupt, SystemExit):
raise
except BaseException as exception:
# resets the values associated with the generator based strategy so
# that the error/exception is handled in the proper (non generator)
Expand Down

0 comments on commit adbc288

Please sign in to comment.