From 2cbe323e9b879b8a4d279baa778e2a6035bc5c8a Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 18 Nov 2024 19:55:40 +0100 Subject: [PATCH] Removed internal debugging properties --- .../main/kotlin/net/codinux/invoicing/mail/MailReader.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mail/MailReader.kt b/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mail/MailReader.kt index f56e8aa..39f41be 100644 --- a/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mail/MailReader.kt +++ b/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mail/MailReader.kt @@ -17,10 +17,6 @@ class MailReader( private val eInvoiceReader: EInvoiceReader = EInvoiceReader() ) { - private val extractionErrorMessages = mutableSetOf() - - private val extractionErrors = mutableSetOf() - private val log by logger() @@ -113,8 +109,6 @@ class MailReader( try { eInvoiceReader.extractFromPdf(part.inputStream) } catch (e: Throwable) { - extractionErrorMessages.add(e.message) - extractionErrors.add(e) null } } else if (filename.endsWith(".xml") || contentType.startsWith("application/xml") || contentType.startsWith("text/xml")) {