1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-07-04 15:32:55 +00:00

Add tests for KafkaMtbFileSender

This commit is contained in:
2023-08-10 13:35:35 +02:00
parent 2b42a4d262
commit 002b0618cf
2 changed files with 171 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class KafkaMtbFileSender(
}
} catch (e: Exception) {
logger.error("An error occurred sending to kafka", e)
MtbFileSender.Response(RequestStatus.UNKNOWN)
MtbFileSender.Response(RequestStatus.ERROR)
}
}
@ -79,7 +79,7 @@ class KafkaMtbFileSender(
}
} catch (e: Exception) {
logger.error("An error occurred sending to kafka", e)
MtbFileSender.Response(RequestStatus.UNKNOWN)
MtbFileSender.Response(RequestStatus.ERROR)
}
}