Removed internal debugging properties

This commit is contained in:
dankito 2024-11-18 19:55:40 +01:00
parent 058fb62849
commit 2cbe323e9b
1 changed files with 0 additions and 6 deletions

View File

@ -17,10 +17,6 @@ class MailReader(
private val eInvoiceReader: EInvoiceReader = EInvoiceReader() private val eInvoiceReader: EInvoiceReader = EInvoiceReader()
) { ) {
private val extractionErrorMessages = mutableSetOf<String?>()
private val extractionErrors = mutableSetOf<Throwable>()
private val log by logger() private val log by logger()
@ -113,8 +109,6 @@ class MailReader(
try { try {
eInvoiceReader.extractFromPdf(part.inputStream) eInvoiceReader.extractFromPdf(part.inputStream)
} catch (e: Throwable) { } catch (e: Throwable) {
extractionErrorMessages.add(e.message)
extractionErrors.add(e)
null null
} }
} else if (filename.endsWith(".xml") || contentType.startsWith("application/xml") || contentType.startsWith("text/xml")) { } else if (filename.endsWith(".xml") || contentType.startsWith("application/xml") || contentType.startsWith("text/xml")) {