mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
catch std::exception on parsing
This commit is contained in:
@@ -329,6 +329,11 @@ protected:
|
||||
logger().log(exc);
|
||||
++errors;
|
||||
}
|
||||
catch (std::exception& exc)
|
||||
{
|
||||
logger().error(std::string(exc.what()));
|
||||
++errors;
|
||||
}
|
||||
}
|
||||
return errors;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user