Skip to content

Conversation

@ashley-weaver
Copy link
Contributor

@ashley-weaver ashley-weaver commented Dec 16, 2025

🎫 Ticket

https://jira.cms.gov/browse/DPC-4950

🛠 Changes

Adds exception class to JSON log format.

ℹ️ Context

Allows for faster log searches.

🧪 Validation

Test updated.

log example from smoke test:

{"timestamp":"2026-01-05T18:03:49.477+0000",
"level":"ERROR",
"thread":"RxComputationThreadPool-1",
"logger":"gov.cms.dpc.aggregation.engine.JobBatchProcessor",
"message":"Failed to retrieve Patient",
"exception":"ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException: No patient found with ID: \n\tat gov.cms.dpc.bluebutton.client.MockBlueButtonClient.formNoPatientException(MockBlueButtonClient.java:242)...",
"mdc":{"jobID":"e6fec28a-abe0-4906-88ad-2a738ce289b9","is_bulk":"true","organization_id":"0ab352f1-2bf1-44c4-aa7a-3004a1ffef12","aggregatorId":"fbc25203-a54e-4d88-83b5-d34134504962","batchID":"d7f12dae-db60-4d26-82ef-7f4575a14fe0","is_v2":"false"},
"environment":"local",
"application":"dpc-aggregation",
"version":"unknown_version",
"exceptionClass":"ResourceNotFoundException"}

@ashley-weaver ashley-weaver requested a review from a team as a code owner December 16, 2025 14:45
MEspositoE14s
MEspositoE14s previously approved these changes Dec 16, 2025
Copy link
Contributor

@MEspositoE14s MEspositoE14s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it'll do the job to me!

MEspositoE14s
MEspositoE14s previously approved these changes Dec 16, 2025
@ashley-weaver ashley-weaver requested review from a team and MEspositoE14s January 5, 2026 18:10
Copy link
Contributor

@MEspositoE14s MEspositoE14s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants