Skip to content

Commit

Permalink
fix: logger variable texts
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Sep 8, 2024
1 parent fb5d518 commit 72bef82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public PullRequestReview convert(@NonNull GHPullRequestReview source) {
try {
review.setCreatedAt(convertToOffsetDateTime(source.getCreatedAt()));
} catch (IOException e) {
logger.error("Failed to convert submittedAt field for source {}: {}", source.getId(), e.getMessage());
logger.error("Failed to convert createdAt field for source {}: {}", source.getId(), e.getMessage());
}
try {
review.setSubmittedAt(convertToOffsetDateTime(source.getSubmittedAt()));
Expand All @@ -33,7 +33,7 @@ public PullRequestReview convert(@NonNull GHPullRequestReview source) {
try {
review.setUpdatedAt(convertToOffsetDateTime(source.getUpdatedAt()));
} catch (IOException e) {
logger.error("Failed to convert submittedAt field for source {}: {}", source.getId(), e.getMessage());
logger.error("Failed to convert updatedAt field for source {}: {}", source.getId(), e.getMessage());
}
return review;
}
Expand Down

0 comments on commit 72bef82

Please sign in to comment.