Merge "setting fake mode to print startup errors"
This commit is contained in:
commit
96b4870716
@ -71,10 +71,10 @@ def run_server():
|
||||
workers=CONF.trove_api_workers)
|
||||
start_fake_taskmanager()
|
||||
launcher.wait()
|
||||
except RuntimeError as error:
|
||||
except Exception:
|
||||
import traceback
|
||||
print traceback.format_exc()
|
||||
sys.exit("ERROR: %s" % error)
|
||||
print(traceback.format_exc())
|
||||
sys.exit("ERROR Starting up")
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -14,7 +14,7 @@ default_log_levels=routes.middleware=ERROR,trove.common.auth=WARN
|
||||
|
||||
log_file = trovetest.log
|
||||
|
||||
use_stderr = False
|
||||
use_stderr = True
|
||||
|
||||
# Show more verbose log output (sets INFO log level output)
|
||||
verbose = True
|
||||
|
Loading…
Reference in New Issue
Block a user