summaryrefslogtreecommitdiff
path: root/bin/taler-merchant-demos
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-23 12:10:06 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-23 12:10:06 +0200
commitfd74c419ac1b308f314dd9d47c7dd98103aa0e80 (patch)
treee997be21744ec3732acfbb0a2f69b4c778c5b058 /bin/taler-merchant-demos
parenta1f8eb232edfd13b91207d9a20bb81d9eaee31bc (diff)
downloadtaler-merchant-demos-fd74c419ac1b308f314dd9d47c7dd98103aa0e80.tar.gz
taler-merchant-demos-fd74c419ac1b308f314dd9d47c7dd98103aa0e80.tar.bz2
taler-merchant-demos-fd74c419ac1b308f314dd9d47c7dd98103aa0e80.zip
generate proper error message on configuration error (fixes #6512)
Diffstat (limited to 'bin/taler-merchant-demos')
-rwxr-xr-xbin/taler-merchant-demos4
1 files changed, 2 insertions, 2 deletions
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")