mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
A host control request that failed for an unexpected reason sent the thrown error's message to the desktop as the error code. During a staging database outage the desktop received Postgres's own text, and node-pg messages can carry the database connection URL. The relay now sends store codes and this codebase's snake_case invariant slugs unchanged, and maps everything else to database_transient or control_operation_failed. The original is logged through the existing redaction (now shared with the background-operation logger), so only the slug shape and SQLSTATE leave the process.