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")) {