gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 02/02: fix log levels


From: gnunet
Subject: [taler-merchant] 02/02: fix log levels
Date: Fri, 10 Apr 2020 21:33:23 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

commit 64a7d25e935107383d468a35ed37bb6f0f8776a6
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Apr 10 21:33:19 2020 +0200

    fix log levels
---
 src/backend/taler-merchant-httpd_refund_increase.c | 2 +-
 src/backenddb/plugin_merchantdb_postgres.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_refund_increase.c 
b/src/backend/taler-merchant-httpd_refund_increase.c
index a6ba992..1832dee 100644
--- a/src/backend/taler-merchant-httpd_refund_increase.c
+++ b/src/backend/taler-merchant-httpd_refund_increase.c
@@ -248,7 +248,7 @@ process_refund (struct MHD_Connection *connection,
   }
   if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
   {
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+    GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "Refusing refund amount %s that is larger than original 
payment\n",
                 TALER_amount2s (refund));
     return TALER_MHD_reply_with_error (connection,
diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 77c9607..697732d 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -2388,7 +2388,7 @@ process_deposits_for_refund_cb (void *cls,
    * issue a refund bigger than the contract's actual price, we cannot
    * rely upon the frontend being correct.
    *///
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
               "The refund of %s is bigger than the order's value\n",
               TALER_amount2s (ctx->refund));
   ctx->qs = GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;

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



reply via email to

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