summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_track.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_track.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_track.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/exchange-lib/testing_api_cmd_track.c b/src/exchange-lib/testing_api_cmd_track.c
index 60f412c8b..8ce9b7bc4 100644
--- a/src/exchange-lib/testing_api_cmd_track.c
+++ b/src/exchange-lib/testing_api_cmd_track.c
@@ -184,9 +184,11 @@ deposit_wtid_cb
if (tts->expected_response_code != http_status)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Unexpected response code %u to command %s\n",
+ "Unexpected response code %u to command %s in %s:%u\n",
http_status,
- cmd->label);
+ cmd->label,
+ __FILE__,
+ __LINE__);
json_dumpf (json, stderr, 0);
TALER_TESTING_interpreter_fail (is);
return;
@@ -224,7 +226,7 @@ deposit_wtid_cb
TALER_TESTING_interpreter_fail (is);
return;
}
-
+
/* Compare that expected and gotten subjects match. */
if (0 != strcmp (ws, transfer_subject))
{
@@ -527,9 +529,11 @@ track_transfer_cb
if (tts->expected_response_code != http_status)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Unexpected response code %u to command %s\n",
+ "Unexpected response code %u to command %s in %s:%u\n",
http_status,
- cmd->label);
+ cmd->label,
+ __FILE__,
+ __LINE__);
json_dumpf (json, stderr, 0);
TALER_TESTING_interpreter_fail (is);
return;