Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

New helper deduplicates/normalizes tool-runtime error arrays for reporting

New internal helpers clean up and format tool-runtime error lists for reporting

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.271,
Under the hood

New internal helpers clean up and format tool-runtime error lists for reporting

What

Three small internal helpers were added for handling errors from tool execution:

  • one normalizes an error-bearing object into a list of individual error entries, falling back to wrapping the whole object as a single entry if needed
  • another formats a single error's message, adjusting the reported line and column position by subtracting an offset from the line number
  • a third joins all the formatted error messages together with "; " separators
Why

This produces cleaner, more consistent error messages when reporting problems from tool execution, with line numbers adjusted to match what the user actually sees.

See this entry in the whole of v2.1.271 →