IoServiceItem io_service;
int ret_code = 0;
unsigned n_exceptions = 0;
- unsigned max_exceptions = 0;
+ unsigned max_exceptions = 1;
+
try
{
GetConfigReturnType success_and_config = get_configuration( argc, argv );
if ( ret_code == 0 )
{
GlobalLogger.info() << "starting io_service main loop" << endl;
+
+ if (max_exceptions > 0)
+ GlobalLogger.warning() << "Limited number of acceptable exceptions,"
+ << " this is a debugging option!";
+
// call boost::asio main event loop, catching exceptions
while ( !signal_data.stopped )
{