aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_p2p_stress.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_p2p_stress.cpp b/test/test_p2p_stress.cpp
index 49f1b2e..e4341bb 100644
--- a/test/test_p2p_stress.cpp
+++ b/test/test_p2p_stress.cpp
@@ -151,7 +151,9 @@ void install_proto(AppContext &app, const size_t &seg_buff_size) {
}
if (msg.hash != tc.hash)
{
- SALTICIDAE_LOG_ERROR("corrupted I/O!");
+ SALTICIDAE_LOG_ERROR("%s corrupted I/O: from=%s view=%d state=%d",
+ std::string(app.addr).c_str(),
+ std::string(addr).c_str(), msg.view, tc.state);
exit(1);
}