add more log

This commit is contained in:
clowwindy 2014-06-06 22:57:57 +08:00
parent a185e1671b
commit 816592b674
3 changed files with 14 additions and 4 deletions

View file

@ -69,6 +69,8 @@ def main():
loop.run()
except (KeyboardInterrupt, IOError, OSError) as e:
logging.error(e)
import traceback
traceback.print_exc()
os._exit(0)
if int(config['workers']) > 1: