Update callTool.ts

This commit is contained in:
Patrick Erichsen 2025-10-14 15:31:12 -07:00
parent 88ef07eb23
commit 33bec4922f

View file

@ -216,7 +216,7 @@ export async function callTool(
};
} catch (e) {
let errorMessage = `${e}`;
let errorReason: string | undefined;
let errorReason: ContinueErrorReason | undefined;
if (e instanceof ContinueError) {
errorMessage = e.message;