diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-10 21:33:19 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-10 21:33:19 +0200 |
commit | 64a7d25e935107383d468a35ed37bb6f0f8776a6 (patch) | |
tree | 2f346740900cca74f67be6e42cfe2af71da96bca | |
parent | 257ee8379ecc4af7ac325aaf868b4e23a9293c14 (diff) | |
download | merchant-64a7d25e935107383d468a35ed37bb6f0f8776a6.tar.gz merchant-64a7d25e935107383d468a35ed37bb6f0f8776a6.tar.bz2 merchant-64a7d25e935107383d468a35ed37bb6f0f8776a6.zip |
fix log levels
-rw-r--r-- | src/backend/taler-merchant-httpd_refund_increase.c | 2 | ||||
-rw-r--r-- | 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 a6ba9923..1832deec 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 77c96072..697732d5 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; |