2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

Revert "debug: check if there's an exception being raised silently"

This reverts commit 115d88faf3.
This commit is contained in:
Gavin D'souza 2020-07-13 18:43:18 +05:30
parent 312a92d0ca
commit 8173b009f6

View File

@ -38,15 +38,7 @@ def setup_production(user, bench_path='.', yes=False):
generate_systemd_config(bench_path=bench_path, user=user, yes=yes)
else:
print("Setting Up supervisor...")
try:
update_supervisord_config(user=user, yes=yes)
except Exception:
import sys, traceback
exc_type, exc_value, exc_tb = sys.exc_info()
trace_list = traceback.format_exception(exc_type, exc_value, exc_tb)
body = "".join(str(t) for t in trace_list)
print(body)
update_supervisord_config(user=user, yes=yes)
generate_supervisor_config(bench_path=bench_path, user=user, yes=yes)
print("Setting Up NGINX...")