8000 If we encounter a server error also output the post document. · ezhangle/arangodb@9bc7ec2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bc7ec2

Browse files
committed
If we encounter a server error also output the post document.
1 parent 0690b49 commit 9bc7ec2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arangosh/Benchmark/BenchmarkThread.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ namespace triagens {
343343
LOG_WARNING("Server side warning count: %lu", errorCount);
344344
if (_verbose) {
345345
LOG_WARNING("Server reply: %s", result->getBody().c_str());
346+
#ifdef TRI_ENABLE_MAINTAINER_MODE
347+
LOG_WARNING("We tried to send this size:\n %llu", (unsigned long long) batchPayload.length());
348+
LOG_WARNING("We tried to send this:\n %s", batchPayload.c_str());
349+
#endif
346350
}
347351
}
348352
}

0 commit comments

Comments
 (0)
0