[svn r63061] dont print too much info on non-debug
--HG-- branch : trunk
This commit is contained in:
parent
a57836f1eb
commit
6b9bf26536
|
@ -68,8 +68,12 @@ def startserver(serversock, loop=False):
|
|||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
except:
|
||||
if debug:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
else:
|
||||
excinfo = sys.exc_info()
|
||||
print "got exception", excinfo[1]
|
||||
if not loop:
|
||||
break
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue