# Consistent error handling for async tools improves reliability

> Async generator tools now capture and surface errors on the tool call —matching synchronous behavior — instead of re-raising exceptions.

- Published: 2026-01-21
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/consistent-error-handling-for-async-tools-improves-reliability
- Markdown: https://agno-com-nine.vercel.app/articles/consistent-error-handling-for-async-tools-improves-reliability.md

Async generator tools now capture and surface errors on the tool call —matching synchronous behavior — instead of re-raising exceptions. This delivers more predictable orchestration and fewer unexpected failures in long-running or streaming tool workflows. If your implementation relied on exceptions being thrown, update handlers accordingly.

Details:

- Aligns async error handling with sync tools for consistent behavior
- Reduces unexpected cancellations caused by unhandled async exceptions
- Improves reliability in streaming and long-running workflows

Who this is for: Teams building automation with async or streaming tools.
