def main():
    try:
        _setup()
        return _run_worker()
    except __HOLE__ as exit_code:
        sys.exit(exit_code)
    except:
        LOG.exception('(PID=%s) Results tracker quit due to exception.', os.getpid())
        return 1
    finally:
        _teardown()
dataset/ETHPy150Open StackStorm/st2/st2actions/st2actions/cmd/st2resultstracker.py/main