gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: errors go to stderr


From: gnunet
Subject: [libeufin] branch master updated: errors go to stderr
Date: Sun, 22 Aug 2021 17:32:08 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 64bccc0  errors go to stderr
64bccc0 is described below

commit 64bccc0eb1b7fcde1c58d2024dd94dc7cade237d
Author: MS <ms@taler.net>
AuthorDate: Sun Aug 22 04:32:01 2021 -1100

    errors go to stderr
---
 cli/bin/libeufin-cli | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 6c45d78..16a9bb3 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -25,7 +25,7 @@ def check_response_status(resp, expected_status_code=200):
 
 def tell_user(resp, expected_status_code=200, withsuccess=False):
     if resp.status_code != expected_status_code:
-        print(resp.content.decode("utf-8"))
+        print(resp.content.decode("utf-8"), file=sys.stderr)
         return
     if withsuccess:
         print(resp.content.decode("utf-8"))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]