diff options
author | Determinant <[email protected]> | 2019-06-13 13:54:19 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-13 13:54:19 -0400 |
commit | 4de5d8f054a6a34efe70f1e01297136e8a84c08b (patch) | |
tree | 754c0b9157304be33d11db14dad08dbdc2132823 /test | |
parent | 2fe09084fa633d30cabe2595fd4c4b088971d47c (diff) |
finish error handlingerror-handling
Diffstat (limited to 'test')
-rw-r--r-- | test/test_p2p_stress.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_p2p_stress.cpp b/test/test_p2p_stress.cpp index 7321217..3a71660 100644 --- a/test/test_p2p_stress.cpp +++ b/test/test_p2p_stress.cpp @@ -117,7 +117,6 @@ void install_proto(AppContext &app, const size_t &seg_buff_size) { net.reg_error_handler([ec](const std::exception &err, bool fatal) { SALTICIDAE_LOG_WARN("main thread captured %s error: %s", fatal ? "fatal" : "recoverable", err.what()); - ec.stop(); }); net.reg_handler([&](MsgRand &&msg, const MyNet::conn_t &conn) { uint256_t hash = salticidae::get_hash(msg.bytes); |