gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Update naming for errors


From: gnunet
Subject: [libeufin] branch master updated: Update naming for errors
Date: Mon, 06 Jul 2020 08:43:08 +0200

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

heng-yeow pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 7d1908e  Update naming for errors
7d1908e is described below

commit 7d1908e185d3d189a6d9fe08eb2e8e200d9a0aef
Author: tanhengyeow <E0032242@u.nus.edu>
AuthorDate: Mon Jul 6 14:42:58 2020 +0800

    Update naming for errors
---
 frontend/src/components/bank-accounts/AddBankConnectionDrawer.tsx | 2 +-
 frontend/src/components/bank-accounts/BankConnectionDrawer.tsx    | 4 ++--
 frontend/src/components/bank-accounts/Index.tsx                   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/frontend/src/components/bank-accounts/AddBankConnectionDrawer.tsx 
b/frontend/src/components/bank-accounts/AddBankConnectionDrawer.tsx
index 6978192..67681b1 100644
--- a/frontend/src/components/bank-accounts/AddBankConnectionDrawer.tsx
+++ b/frontend/src/components/bank-accounts/AddBankConnectionDrawer.tsx
@@ -83,7 +83,7 @@ const AddBankConnectionDrawer = (props) => {
         if (response.ok) {
           return response.blob();
         }
-        throw 'Cannot fetch keyletter';
+        throw 'Cannot retrieve keyletter';
       })
       .then(async (blob) => {
         const pdfLink = URL.createObjectURL(blob);
diff --git a/frontend/src/components/bank-accounts/BankConnectionDrawer.tsx 
b/frontend/src/components/bank-accounts/BankConnectionDrawer.tsx
index daa2f30..646af1b 100644
--- a/frontend/src/components/bank-accounts/BankConnectionDrawer.tsx
+++ b/frontend/src/components/bank-accounts/BankConnectionDrawer.tsx
@@ -45,7 +45,7 @@ const BankConnectionDrawer = (props) => {
         if (response.ok) {
           return response.blob();
         }
-        throw 'Cannot fetch keyletter';
+        throw 'Cannot retrieve keyletter';
       })
       .then(async (blob) => {
         const pdfLink = URL.createObjectURL(blob);
@@ -66,7 +66,7 @@ const BankConnectionDrawer = (props) => {
     })
       .then((response) => {
         if (!response.ok) {
-          throw 'Cannot fetch bank accounts';
+          throw 'Cannot retrieve bank accounts';
         }
         return response.json();
       })
diff --git a/frontend/src/components/bank-accounts/Index.tsx 
b/frontend/src/components/bank-accounts/Index.tsx
index df9fcdc..4b1a3d4 100644
--- a/frontend/src/components/bank-accounts/Index.tsx
+++ b/frontend/src/components/bank-accounts/Index.tsx
@@ -26,7 +26,7 @@ const BankAccounts = () => {
         if (response.ok) {
           return response.json();
         }
-        throw 'Cannot fetch bank connections';
+        throw 'Cannot retrieve bank connections';
       })
       .then((response) => {
         setConnectionsList(response);
@@ -47,7 +47,7 @@ const BankAccounts = () => {
         if (response.ok) {
           return response.json();
         }
-        throw 'Cannot fetch bank accounts';
+        throw 'Cannot retrieve bank accounts';
       })
       .then((response) => {
         setAccountsList(response.accounts);

-- 
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]