add final status

This commit is contained in:
Jonathan Jenne
2024-01-15 13:54:52 +01:00
parent 6460c2b4ea
commit a4ed41419d
3 changed files with 15 additions and 2 deletions

View File

@@ -119,6 +119,11 @@ Namespace Jobs
Throw New ApplicationException("Document could not be finalized")
End If
If ActionService.CreateReport(oEnvelope) = False Then
Logger.Warn("Document Report could not be created!")
Throw New ApplicationException("Document Report could not be created")
End If
Logger.Debug("Creating report..")
Dim oReport As Byte() = ReportCreator.CreateReport(oEnvelope)
Logger.Debug("Report created.")