mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
e19852cd9a
The backend already reads errorCode from event data for FailureCode and failure reason formatting, but the agent never populated it. This change extracts error codes (exit codes, HRESULT) from named regex capture groups in IME log error patterns and sends them as structured errorCode fields. Also fixes a pre-existing bug where ErrorPatternId/ErrorDetail were not persisted across agent restarts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>