diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-07-02 09:19:36 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-07-02 09:19:36 +0200 |
commit | 6e537f22f0b1b8f7d5f5ff4b5f3571c4a7dc7a6f (patch) | |
tree | cb57db16cb7b7328bd3a08c99fb1a3901c6eda4e /crocoite | |
parent | 9ff793e96139ed40090ab9d8c3cae99b284858e5 (diff) | |
download | crocoite-6e537f22f0b1b8f7d5f5ff4b5f3571c4a7dc7a6f.tar.gz crocoite-6e537f22f0b1b8f7d5f5ff4b5f3571c4a7dc7a6f.tar.bz2 crocoite-6e537f22f0b1b8f7d5f5ff4b5f3571c4a7dc7a6f.zip |
Fix exit status logging
Fixes commit 158f55eb7fb24fa26727a008ad44964390171060. Logger works only
if WARC is still open.
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/cli.py b/crocoite/cli.py index 3294061..d89384d 100644 --- a/crocoite/cli.py +++ b/crocoite/cli.py @@ -124,8 +124,8 @@ def single (): finally: r = handler[0].stats logger.info ('stats', context='cli', uuid='24d92d16-770e-4088-b769-4020e127a7ff', **r) + logger.info ('exit', context='cli', uuid='9b1bd603-f7cd-4745-895a-5b894a5166f2', status=ret) - logger.info ('exit', context='cli', uuid='9b1bd603-f7cd-4745-895a-5b894a5166f2', status=ret) return ret def parsePolicy (recursive, url): |