Skip to content

Commit

Permalink
Merge pull request duo-labs#491 from 0xdabbad00/harden_for_errors
Browse files Browse the repository at this point in the history
Return error code on errors for collect
  • Loading branch information
0xdabbad00 authored Jul 25, 2019
2 parents 2e7cd8d + 5273edc commit c3363cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commands/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ def collect(arguments):
call_summary["exception"],
)
)
# Ensure errors can be detected
exit(-1)


def run(arguments):
Expand Down

0 comments on commit c3363cf

Please sign in to comment.