From bd77927421414660d3e7634d1ce70395552e2c96 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 13 Oct 2021 19:11:27 +0000 Subject: [PATCH] changes to stop() error reporting Signed-off-by: Arthur Lu --- src/cli/superscript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/superscript.py b/src/cli/superscript.py index e485f61..b3610c8 100644 --- a/src/cli/superscript.py +++ b/src/cli/superscript.py @@ -595,7 +595,7 @@ def stop(pid_path): if os.path.exists(pid_path): os.remove(pid_path) else: - print(str(err)) + traceback.print_exc(file = stderr) sys.exit(1) def restart(pid_path):