()
| 84 | |
| 85 | |
| 86 | def main(): |
| 87 | try: |
| 88 | setup() |
| 89 | return run_server() |
| 90 | except SystemExit as exit_code: |
| 91 | sys.exit(exit_code) |
| 92 | except Exception: |
| 93 | traceback.print_exc() |
| 94 | LOG.exception("(PID=%s) Workflow engine quit due to exception.", os.getpid()) |
| 95 | return 1 |
| 96 | finally: |
| 97 | teardown() |
nothing calls this directly
no test coverage detected