mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
debugging a shutdown issue
This commit is contained in:
parent
adca46427d
commit
c70bf2e2b9
2
setup.py
2
setup.py
@ -41,7 +41,7 @@ except:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='warcprox',
|
name='warcprox',
|
||||||
version='2.4b7.dev196',
|
version='2.4b7.dev197',
|
||||||
description='WARC writing MITM HTTP/S proxy',
|
description='WARC writing MITM HTTP/S proxy',
|
||||||
url='https://github.com/internetarchive/warcprox',
|
url='https://github.com/internetarchive/warcprox',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
@ -316,7 +316,11 @@ def main(argv=None):
|
|||||||
# SIGQUIT does not exist on some platforms (windows)
|
# SIGQUIT does not exist on some platforms (windows)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
controller.run_until_shutdown()
|
try:
|
||||||
|
controller.run_until_shutdown()
|
||||||
|
except:
|
||||||
|
logging.fatal('unhandled exception in controller', exc_info=True)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
def ensure_rethinkdb_tables(argv=None):
|
def ensure_rethinkdb_tables(argv=None):
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user