Removed internal debugging properties
This commit is contained in:
parent
058fb62849
commit
2cbe323e9b
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in New Issue