summaryrefslogtreecommitdiff
path: root/src/restclient/anastasis_api_truth_challenge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/restclient/anastasis_api_truth_challenge.c')
-rw-r--r--src/restclient/anastasis_api_truth_challenge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/restclient/anastasis_api_truth_challenge.c b/src/restclient/anastasis_api_truth_challenge.c
index 606bcfb..aa9119c 100644
--- a/src/restclient/anastasis_api_truth_challenge.c
+++ b/src/restclient/anastasis_api_truth_challenge.c
@@ -219,6 +219,9 @@ handle_truth_challenge_finished (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Unexpected challenge type `%s'\n",
ct);
+ json_dumpf (j,
+ stderr,
+ JSON_INDENT (2));
tcd.http_status = 0;
tcd.ec = TALER_EC_GENERIC_REPLY_MALFORMED;
break;