gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: fix view returning None


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: fix view returning None
Date: Tue, 31 Oct 2017 15:28:46 +0100

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

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new debbb56  fix view returning None
debbb56 is described below

commit debbb5648380daf4d934322d088cbf6d79eb0090
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Oct 31 15:28:28 2017 +0100

    fix view returning None
---
 talerbank/app/views.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index fa673c5..be4cb3c 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -503,6 +503,7 @@ def add_incoming(request):
 
     except BadFormatAmount:
         logger.error("Bad MAX_DEBT|MAX_BANK_DEBT format")
+        return JsonResponse(dict(error="Internal server error"), status=500)
     except CurrencyMismatch:
         logger.error("Internal currency inconsistency")
         return JsonResponse(dict(error="Internal server error"), status=500)

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



reply via email to

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