Merge master branch

This commit is contained in:
2025-06-27 14:41:24 +02:00
6 changed files with 45 additions and 28 deletions

View File

@@ -143,7 +143,9 @@ Namespace Jobs
Logger.Debug("Documents merged!")
Dim oOutputDirectoryPath = Path.Combine(Config.ExportPath, ParentFolderUID)
Logger.Debug($"oOutputDirectoryPath is {oOutputDirectoryPath}")
If Not Directory.Exists(oOutputDirectoryPath) Then
Logger.Debug($"Directory not existing. Creating ... ")
Directory.CreateDirectory(oOutputDirectoryPath)
End If
Dim oOutputFilePath = Path.Combine(oOutputDirectoryPath, $"{oEnvelope.Uuid}.pdf")
@@ -172,6 +174,7 @@ Namespace Jobs
Throw New ApplicationException("Envelope could not be finalized")
End If
Catch ex As Exception
Logger.Error(ex)
Logger.Warn(ex, $"Unhandled exception while working envelope [{oId}]")
End Try