From 5b0807d4b5fd5e6cff8c507d13f60c75f906f408 Mon Sep 17 00:00:00 2001 From: pitzm Date: Thu, 16 Jul 2026 16:14:19 +0200 Subject: [PATCH] Modules.Interfaces: Defekte Dateien abfangen --- Interfaces/ZUGFeRDInterface/PDFEmbeds.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Interfaces/ZUGFeRDInterface/PDFEmbeds.vb b/Interfaces/ZUGFeRDInterface/PDFEmbeds.vb index 38872da5..54a43d71 100644 --- a/Interfaces/ZUGFeRDInterface/PDFEmbeds.vb +++ b/Interfaces/ZUGFeRDInterface/PDFEmbeds.vb @@ -205,7 +205,8 @@ Public Class PDFEmbeds End If Else Logger.Error("An error occurred getting the file name for [{0}]. Status: {1}", oFileName, GDPicturePDF.GetStat().ToString()) - Continue For + Dim oMessage = String.Format("An error occurred getting the file name for [{0}]. Status: {1}", oFileName, GDPicturePDF.GetStat().ToString()) + Throw New ApplicationException(oMessage) End If Next End If