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