From fd74c419ac1b308f314dd9d47c7dd98103aa0e80 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 23 Aug 2020 12:10:06 +0200 Subject: generate proper error message on configuration error (fixes #6512) --- bin/taler-merchant-demos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos index 098416a..9cc7516 100755 --- a/bin/taler-merchant-demos +++ b/bin/taler-merchant-demos @@ -62,7 +62,7 @@ def handle_serve_uwsgi(config, whichShop): try: os.execlp(*params) except: - echo "Failed to start uwsgi. Please make sure to install uwsgi for Python3." + sys.stderr.write("Failed to start uwsgi. Please make sure to install uwsgi for Python3.") sys.exit(1) ## @@ -82,7 +82,7 @@ def handle_serve_http(config, whichShop, port=None): "--http", spec, "--module", "talermerchantdemos.{}:app".format(whichShop)) except: - echo "Failed to start uwsgi. Please make sure to install uwsgi for Python3." + sys.stderr.write("Failed to start uwsgi. Please make sure to install uwsgi for Python3.") sys.exit(1) @click.command("Global shop launcher") -- cgit v1.2.3