You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the XmlParsing stage, if any parsing error occurs, the exception from the underlying aalto parser goes unhandled and fails the stage. As a result, the exception is always logged at the ERROR log level by akka's logger. I think the better approach would be to catch all parsing exceptions and fail the stage cleanly via failStage(ex), so that the exception is not automatically logged, and consumers of the XmlParsing stage can determine how to react wrt to logging.
The text was updated successfully, but these errors were encountered:
In the XmlParsing stage, if any parsing error occurs, the exception from the underlying aalto parser goes unhandled and fails the stage. As a result, the exception is always logged at the ERROR log level by akka's logger. I think the better approach would be to catch all parsing exceptions and fail the stage cleanly via
failStage(ex)
, so that the exception is not automatically logged, and consumers of the XmlParsing stage can determine how to react wrt to logging.The text was updated successfully, but these errors were encountered: