diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-23 12:10:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-23 12:10:06 +0200 |
commit | fd74c419ac1b308f314dd9d47c7dd98103aa0e80 (patch) | |
tree | e997be21744ec3732acfbb0a2f69b4c778c5b058 /bin | |
parent | a1f8eb232edfd13b91207d9a20bb81d9eaee31bc (diff) | |
download | taler-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')
-rwxr-xr-x | bin/taler-merchant-demos | 4 |
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") |