Skip to content

Commit

Permalink
Applied review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Edwards-cgi committed Jan 31, 2025
1 parent 65ecc3d commit 3dfb8c8
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 @@ -73,7 +73,7 @@ private void logEvent(String messageId, String eventId, String courthouse, Strin

@Override
public void missingCourthouse(DartsEvent event) {
log.error("Courthouse not found: message_id={}, event_id={}, courthouse={}, courtroom={}, event_timestamp={}",
log.error("Courthouse not found: message_id={}, event_id={}, courthouse={}, courtroom={}, timestamp={}",
event.getMessageId(),
event.getEventId(),
DataUtil.toUpperCase(event.getCourthouse()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void testLogsMissingCourthouse() {
var event = createDartsEvent(123, "Some event text", false);
event.setCourthouse("NOT_EXIST");
eventLoggerService.missingCourthouse(event);
var logEntry = String.format("Courthouse not found: message_id=%s, event_id=%s, courthouse=%s, courtroom=%s, event_timestamp=%s",
var logEntry = String.format("Courthouse not found: message_id=%s, event_id=%s, courthouse=%s, courtroom=%s, timestamp=%s",
event.getMessageId(), event.getEventId(), event.getCourthouse().toUpperCase(Locale.ROOT),
event.getCourtroom().toUpperCase(Locale.ROOT), "2024-10-10T10:00:00Z");
List<String> errorLogs = logCaptor.getErrorLogs();
Expand Down

0 comments on commit 3dfb8c8

Please sign in to comment.