serve_header: fix exit code
This commit is contained in:
parent
46e53ad177
commit
adb12cd94f
@ -402,8 +402,8 @@ if __name__ == '__main__':
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
log.info('exiting')
|
log.info('exiting')
|
||||||
except Exception:
|
except Exception:
|
||||||
log.exception('an error occurred:')
|
|
||||||
ec = 1
|
ec = 1
|
||||||
|
log.exception('an error occurred:')
|
||||||
finally:
|
finally:
|
||||||
if worktrees is not None:
|
if worktrees is not None:
|
||||||
worktrees.stop()
|
worktrees.stop()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user