We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e507f2 commit 4835a42Copy full SHA for 4835a42
src/a2a/server/request_handlers/rest_handler.py
@@ -254,7 +254,7 @@ async def on_get_task(
254
except ValueError:
255
raise ServerError(
256
error=InvalidParamsError(message='historyLength must be a valid integer')
257
- )
+ ) from None
258
params = GetTaskRequest(id=task_id, history_length=history_length)
259
task = await self.request_handler.on_get_task(params, context)
260
if task:
0 commit comments