Skip to content

Commit

Permalink
Merge pull request #2000 from AntelopeIO/trx-generator-core-5.0
Browse files Browse the repository at this point in the history
[5.0] Test: Fix trx_generator handling of connection lost
  • Loading branch information
heifner authored Dec 19, 2023
2 parents 091bd34 + d874bda commit a469b69
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 a469b69

Please sign in to comment.