Pasting only the error line into an AI coding agent means it fixes the symptom you chose, not the actual failure. What actually unblocks the agent is the surrounding evidence: the input that triggered it, the state at the time, and a way to reproduce locally.
When you paste an error into an AI agent, you're handing it your conclusion