Modules.Interfaces: Log-Meldungen ergänzt
This commit is contained in:
@@ -196,6 +196,12 @@ Public Class ZUGFeRDInterface
|
||||
|
||||
oResult = _Validator.ValidateZUGFeRDDocument(oResult)
|
||||
|
||||
If oResult.ValidationErrors.Count > 0 Then
|
||||
_logger.Warn($"XML-Logik - Nach Validator() Errors: {oResult.ValidationErrors.Count}")
|
||||
Else
|
||||
_logger.Info($"XML-Logik - Nach Validator() NO Errors.")
|
||||
End If
|
||||
|
||||
Catch ex As ZUGFeRDExecption
|
||||
' Don't log ZUGFeRD Exceptions here, they should be handled by the calling code.
|
||||
' It also produces misleading error messages when checking if an attachment is a zugferd file.
|
||||
|
||||
Reference in New Issue
Block a user