unnötige Protokollierung entfernt

This commit is contained in:
Developer 02 2025-04-24 11:48:54 +02:00
parent ac0ae10fab
commit 276adda516
2 changed files with 26 additions and 34 deletions

View File

@ -382,7 +382,6 @@ Namespace Jobs
End Try End Try
End If End If
Return PDFBurner.BurnInstantJSONAnnotationsToPDF(oInputDocumentBuffer, oAnnotations) Return PDFBurner.BurnInstantJSONAnnotationsToPDF(oInputDocumentBuffer, oAnnotations)
End Function End Function

View File

@ -31,8 +31,6 @@ Namespace Jobs.FinalizeDocument
Public Function BurnInstantJSONAnnotationsToPDF(pSourceBuffer As Byte(), pInstantJSONList As List(Of String)) As Byte() Public Function BurnInstantJSONAnnotationsToPDF(pSourceBuffer As Byte(), pInstantJSONList As List(Of String)) As Byte()
Dim oResult As GdPictureStatus Dim oResult As GdPictureStatus
Try
Using oSourceStream As New MemoryStream(pSourceBuffer) Using oSourceStream As New MemoryStream(pSourceBuffer)
' Open PDF ' Open PDF
oResult = Manager.InitFromStream(oSourceStream) oResult = Manager.InitFromStream(oSourceStream)
@ -65,11 +63,6 @@ Namespace Jobs.FinalizeDocument
Return oNewStream.ToArray() Return oNewStream.ToArray()
End Using End Using
End Using End Using
Catch ex As Exception
Logger.Error(ex)
Return Nothing
End Try
End Function End Function
Private Function AddInstantJSONAnnotationToPDF(pInstantJSON As String) As Boolean Private Function AddInstantJSONAnnotationToPDF(pInstantJSON As String) As Boolean