Skip to content

Commit

Permalink
Optimize log message in Redis and Kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
polaris6 authored and ebyhr committed May 23, 2022
1 parent cb18890 commit be2b53c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private Map<SchemaTableName, KafkaTopicDescription> populateTables()
return builder.buildOrThrow();
}
catch (IOException e) {
log.warn(e, "Error: ");
log.warn(e, "Failed to get table description files for Kafka");
throw new UncheckedIOException(e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Map<SchemaTableName, RedisTableDescription> get()
return builder.buildOrThrow();
}
catch (IOException e) {
log.warn(e, "Error: ");
log.warn(e, "Failed to get table description files for Redis");
throw new UncheckedIOException(e);
}
}
Expand Down

0 comments on commit be2b53c

Please sign in to comment.