Skip to content

Commit

Permalink
envoy.base.runner: Fix runner.catches to work with BaseException (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Aug 26, 2021
1 parent 00fbb89 commit 94d6a9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion envoy.base.command/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.2-dev
2 changes: 1 addition & 1 deletion envoy.base.runner/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.2-dev
0.0.2
4 changes: 2 additions & 2 deletions envoy.base.runner/envoy/base/runner/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

def catches(
errors: Union[
Type[Exception],
Tuple[Type[Exception], ...]]) -> Callable:
Type[BaseException],
Tuple[Type[BaseException], ...]]) -> Callable:
"""Method decorator to catch specified errors
logs and returns 1 for sys.exit if error/s are caught
Expand Down
2 changes: 1 addition & 1 deletion envoy.dependency.pip_check/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.2-dev

0 comments on commit 94d6a9f

Please sign in to comment.