Skip to content

Commit fc59e6b

Browse files
committed
Logs
1 parent 6146073 commit fc59e6b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

api/src/main/java/io/kafbat/ui/serdes/builtin/mm2/CheckpointSerde.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ public Deserializer deserializer(String topic, Target target) {
9292
var result = OBJECT_MAPPER.writeValueAsString(map);
9393
yield new DeserializeResult(result, DeserializeResult.Type.JSON, Map.of());
9494
} catch (JsonProcessingException e) {
95-
log.error("Error serializing record", e);
96-
throw new RuntimeException(e);
95+
log.error("Error deserializing record", e);
96+
throw new RuntimeException("Error deserializing record", e);
9797
}
9898
}
9999

@@ -118,8 +118,8 @@ public Deserializer deserializer(String topic, Target target) {
118118
var result = OBJECT_MAPPER.writeValueAsString(map);
119119
yield new DeserializeResult(result, DeserializeResult.Type.JSON, Map.of());
120120
} catch (JsonProcessingException e) {
121-
log.error("Error serializing record", e);
122-
throw new RuntimeException(e);
121+
log.error("Error deserializing record", e);
122+
throw new RuntimeException("Error deserializing record", e);
123123
}
124124
}
125125

api/src/main/java/io/kafbat/ui/serdes/builtin/mm2/HeartbeatSerde.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public Deserializer deserializer(String topic, Target target) {
8383
var result = OBJECT_MAPPER.writeValueAsString(map);
8484
yield new DeserializeResult(result, DeserializeResult.Type.JSON, Map.of());
8585
} catch (JsonProcessingException e) {
86-
log.error("Error serializing record", e);
87-
throw new RuntimeException(e);
86+
log.error("Error deserializing record", e);
87+
throw new RuntimeException("Error deserializing record", e);
8888
}
8989
}
9090

api/src/main/java/io/kafbat/ui/serdes/builtin/mm2/OffsetSyncSerde.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public Deserializer deserializer(String topic, Target target) {
7979
var result = OBJECT_MAPPER.writeValueAsString(map);
8080
yield new DeserializeResult(result, DeserializeResult.Type.JSON, Map.of());
8181
} catch (JsonProcessingException e) {
82-
log.error("Error serializing record", e);
83-
throw new RuntimeException(e);
82+
log.error("Error deserializing record", e);
83+
throw new RuntimeException("Error deserializing record", e);
8484
}
8585
}
8686

@@ -95,8 +95,8 @@ public Deserializer deserializer(String topic, Target target) {
9595
var result = OBJECT_MAPPER.writeValueAsString(map);
9696
yield new DeserializeResult(result, DeserializeResult.Type.JSON, Map.of());
9797
} catch (JsonProcessingException e) {
98-
log.error("Error serializing record", e);
99-
throw new RuntimeException(e);
98+
log.error("Error deserializing record", e);
99+
throw new RuntimeException("Error deserializing record", e);
100100
}
101101
}
102102

0 commit comments

Comments
 (0)