Diagnostic Context Without Copying Private Data
Operational diagnostics should include a location and failure reason while avoiding unnecessary copies of private or sensitive inputs.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace an import error
A failed row can log the job ID, row number, field name, and validation reason. That can guide diagnosis without copying the whole source record. See diagnostic logging context.
Test the diagnostic contract
Use synthetic data with an unmistakable private field marker, trigger a known validation error, and assert useful context without that marker. Synthetic test data supports this safely.[1]