From c24f6ff82916bd6e4283663ca9f98be2881da514 Mon Sep 17 00:00:00 2001 From: Peter Oschwald Date: Thu, 28 Sep 2023 13:42:50 -0500 Subject: [PATCH] Use default excpetion handler. The non-default exception handler was masking the issue and not terminating the process which was causing misleading errors downstream. With default exception handler there is a better exception message as well as termination of the process. This provides better handling upstream in the performance harness. --- tests/trx_generator/trx_provider.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/trx_generator/trx_provider.cpp b/tests/trx_generator/trx_provider.cpp index 5d122ee291..df2541146e 100644 --- a/tests/trx_generator/trx_provider.cpp +++ b/tests/trx_generator/trx_provider.cpp @@ -35,8 +35,7 @@ namespace eosio::testing { } void provider_connection::init_and_connect() { - _connection_thread_pool.start( - 1, [](const fc::exception& e) { elog("provider_connection exception ${e}", ("e", e)); }); + _connection_thread_pool.start(1, {}); connect(); };