Skip to content

Commit

Permalink
chore: correct message in not handled events
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGiulianelli committed Apr 1, 2023
1 parent a0b8b63 commit 767dd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/infrastructure/events/KafkaClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class KafkaClient(private val provider: ManagerProvider) {
try {
consumeEvent(event)
} catch (e: IllegalArgumentException) {
println("ERROR: Invalid Event Schema. Event discarded! - $e")
println("INFO: Event discarded! - $e")
} catch (e: DateTimeParseException) {
println("ERROR: Invalid Date in event. Event discarded! - $e")
}
Expand Down

0 comments on commit 767dd3f

Please sign in to comment.