Production Ops
Error Workflow
A separate path that catches failures, logs them with context, and alerts a human.
An error workflow is a second path through an automation, the one that runs when a step fails. The happy path assumes every step works; the error workflow handles the case where one does not. It catches the failure, records it with enough context to debug, and alerts a human, instead of letting the run die silently or crash without a trace.
Steps fail either way; the error workflow decides whether the failure is visible. A failure that is caught, logged, and surfaced costs a fix. A failure that is swallowed can return or store a wrong result before anyone sees an alert, and the fix now includes finding which results are wrong.
Build the failure path with the same care as the happy path, loud to the operator and quiet to the client.