Merge "setting fake mode to print startup errors"

This commit is contained in:
Jenkins 2013-12-06 19:13:02 +00:00 committed by Gerrit Code Review
commit 96b4870716
2 changed files with 4 additions and 4 deletions

View File

@ -71,10 +71,10 @@ def run_server():
workers=CONF.trove_api_workers) workers=CONF.trove_api_workers)
start_fake_taskmanager() start_fake_taskmanager()
launcher.wait() launcher.wait()
except RuntimeError as error: except Exception:
import traceback import traceback
print traceback.format_exc() print(traceback.format_exc())
sys.exit("ERROR: %s" % error) sys.exit("ERROR Starting up")
def main(): def main():

View File

@ -14,7 +14,7 @@ default_log_levels=routes.middleware=ERROR,trove.common.auth=WARN
log_file = trovetest.log log_file = trovetest.log
use_stderr = False use_stderr = True
# Show more verbose log output (sets INFO log level output) # Show more verbose log output (sets INFO log level output)
verbose = True verbose = True