()
| 75 | |
| 76 | |
| 77 | def main(): |
| 78 | try: |
| 79 | _setup() |
| 80 | return _run_worker() |
| 81 | except SystemExit as exit_code: |
| 82 | sys.exit(exit_code) |
| 83 | except: |
| 84 | LOG.exception("(PID=%s) RulesEngine quit due to exception.", os.getpid()) |
| 85 | return 1 |
| 86 | finally: |
| 87 | _teardown() |
nothing calls this directly
no test coverage detected