Skip to content

Commit

Permalink
Merge pull request #2002 from AntelopeIO/trx-generator-core-main
Browse files Browse the repository at this point in the history
[5.0 -> main] Test: Fix trx_generator handling of connection lost
  • Loading branch information
heifner authored Dec 20, 2023
2 parents 9924152 + af1cd34 commit 028bd49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/trx_generator/trx_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ namespace eosio::testing {
}

void provider_connection::init_and_connect() {
_connection_thread_pool.start(1, {});
_connection_thread_pool.start(1,
[&](const fc::exception &e) {
wlog("Exception in connection_thread: ${e}", ("e", e.to_detail_string()));
});
connect();
};

Expand Down

0 comments on commit 028bd49

Please sign in to comment.