From 8173b009f61a5177affff4fdcbb80a44ede58a87 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 13 Jul 2020 18:43:18 +0530 Subject: [PATCH] Revert "debug: check if there's an exception being raised silently" This reverts commit 115d88faf3c246e224ab25b94e134c0cf0c20063. --- bench/config/production_setup.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bench/config/production_setup.py b/bench/config/production_setup.py index 4d6f241a..6809b733 100755 --- a/bench/config/production_setup.py +++ b/bench/config/production_setup.py @@ -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...")