summaryrefslogtreecommitdiff
path: root/src/bank-lib/bank_api_history.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-12-14 13:36:59 +0100
committerChristian Grothoff <christian@grothoff.org>2017-12-14 13:36:59 +0100
commit0f5ef01dd3ef623fb06d3cf9046a18ae818d2570 (patch)
treed7572ede51e75d4c820a1a2357c4d93c883e0e36 /src/bank-lib/bank_api_history.c
parent22eae129a9e5934d3fadf11cb4b4c6724c9d1aa8 (diff)
downloadexchange-0f5ef01dd3ef623fb06d3cf9046a18ae818d2570.tar.gz
exchange-0f5ef01dd3ef623fb06d3cf9046a18ae818d2570.tar.bz2
exchange-0f5ef01dd3ef623fb06d3cf9046a18ae818d2570.zip
nicer error reporting
Diffstat (limited to 'src/bank-lib/bank_api_history.c')
-rw-r--r--src/bank-lib/bank_api_history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c
index fdc1e2a5b..d02b24cbd 100644
--- a/src/bank-lib/bank_api_history.c
+++ b/src/bank-lib/bank_api_history.c
@@ -174,7 +174,7 @@ handle_history_finished (void *cls,
switch (response_code)
{
case 0:
- ec = TALER_EC_INTERNAL_INVARIANT_FAILURE;
+ ec = TALER_EC_BANK_HISTORY_HTTP_FAILURE;
break;
case MHD_HTTP_OK:
if (GNUNET_OK !=