Commit 7afee691 authored by Jeremy Hylton's avatar Jeremy Hylton

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

parent 7d86e368
......@@ -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()
import traceback
apply(traceback.print_exception, info)
apply(traceback.print_exception, info2)
pass
import traceback
apply(traceback.print_exception, info)
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