[Top][All Lists]

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

[taler-bank] branch master updated: manage non existent payto receiver

From: gnunet
Subject: [taler-bank] branch master updated: manage non existent payto receiver
Date: Wed, 02 Jun 2021 10:28:05 +0200

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

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 18275cb  manage non existent payto receiver
18275cb is described below

commit 18275cbdfcf6b9fc155e524ff8ecdfb610741e1d
Author: MS <>
AuthorDate: Wed Jun 2 10:28:00 2021 +0200

    manage non existent payto receiver
 talerbank/app/ | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/talerbank/app/ b/talerbank/app/
index bd5ea76..fd2fb51 100644
--- a/talerbank/app/
+++ b/talerbank/app/
@@ -349,7 +349,13 @@ def payto_transfer(request):
         return redirect("profile")
     parsed_address = PaytoParse(data.cleaned_data.get("address"))
-    receiver_user = User.objects.get(
+    try:
+        receiver_user = User.objects.get(
+    except User.DoesNotExist:
+        set_session_hint(request, success=False, hint=exception.hint)
+        return redirect(request.path_info)

To stop receiving notification emails like this one, please contact

reply via email to

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