gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-taler-util] branch master updated: amount.py: merge


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-util] branch master updated: amount.py: merge from bank.git, 500->406 this value is used nowhere else, safe to merge.
Date: Wed, 25 Sep 2019 16:23:14 +0200

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

ng0 pushed a commit to branch master
in repository taler-util.

The following commit(s) were added to refs/heads/master by this push:
     new 653f875  amount.py: merge from bank.git, 500->406 this value is used 
nowhere else, safe to merge.
653f875 is described below

commit 653f87562460d9af34638f3c51ebc43c139ee953
Author: ng0 <address@hidden>
AuthorDate: Wed Sep 25 14:22:03 2019 +0000

    amount.py: merge from bank.git, 500->406 this value is used nowhere else,
    safe to merge.
---
 taler/util/amount.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/taler/util/amount.py b/taler/util/amount.py
index 5434cf2..e017e67 100644
--- a/taler/util/amount.py
+++ b/taler/util/amount.py
@@ -29,8 +29,8 @@
 # Exception class to raise when an operation between two
 # amounts of different currency is being attempted.
 class CurrencyMismatch(Exception):
-    hint = "Internal logic error (currency mismatch)"
-    http_status_code = 500
+    hint = "Client gave amount with unsupported currency."
+    http_status_code = 406
 
     ##
     # Init constructor.

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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