Skip to content

Commit

Permalink
Should fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
elacheche committed Jun 4, 2018
1 parent 716cd14 commit 8ba0f5d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docker_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@ def main():
if __name__ == '__main__':
try:
main()
except SystemExit:
pass
except BaseException as exc:
EXC_TYPE, _, EXC_TRACEBACK = sys.exc_info()
FNAME = os.path.split(EXC_TRACEBACK.tb_frame.f_code.co_filename)[1]
print("UNKNOWN: %s Exception \"%s\" in %s line %s" % (
EXC_TYPE.__name__, exc, FNAME, EXC_TRACEBACK.tb_lineno))
except Exception as e:
print(e)
sys.exit(3)

0 comments on commit 8ba0f5d

Please sign in to comment.