ZUGFeRD: Send original message as attachment in error case

This commit is contained in:
Jonathan Jenne
2019-03-13 16:14:39 +01:00
parent e4ba39f19c
commit 76ff4a5daa
2 changed files with 31 additions and 11 deletions

View File

@@ -60,6 +60,9 @@ Public Class ZUGFeRDInterface
oProcessOutput = oProcess.StandardOutput.ReadToEnd()
oProcessError = oProcess.StandardError.ReadToEnd()
oProcess.WaitForExit()
_logger.Debug("Process Output:")
_logger.Debug(oProcessOutput)
Catch ex As Exception
_logger.Error(ex)
Throw ex