Commit 60719eeb authored by Jeremy Hylton's avatar Jeremy Hylton

Print a traceback to stderr in addition to logging when start fails

parent 956b28af
......@@ -86,7 +86,7 @@
"""Start the server storage.
"""
__version__ = "$Revision: 1.23 $"[11:-2]
__version__ = "$Revision: 1.24 $"[11:-2]
import sys, os, getopt, string
......@@ -319,10 +319,10 @@ def main(argv):
zLOG.LOG("z2", zLOG.PANIC, "Startup exception",
error=info)
except:
info2=sys.exc_info()
pass
import traceback
apply(traceback.print_exception, info)
apply(traceback.print_exception, info2)
sys.exit(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment