()
| 106 | |
| 107 | |
| 108 | def main(): |
| 109 | try: |
| 110 | _setup() |
| 111 | return _run_server() |
| 112 | except SystemExit as exit_code: |
| 113 | deregister_service(AUTH) |
| 114 | sys.exit(exit_code) |
| 115 | except Exception: |
| 116 | LOG.exception("(PID=%s) ST2 Auth API quit due to exception.", os.getpid()) |
| 117 | return 1 |
| 118 | finally: |
| 119 | _teardown() |
nothing calls this directly
no test coverage detected