Skip to content

Commit 7931659

Browse files
chore: Fix error log not logged as an error
1 parent 1d3014d commit 7931659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const main = async () => {
255255
};
256256
}
257257
// else: We don't know what kind of error happened - best case we can log the error and provide error.message as a tool response
258-
console.log(error);
258+
console.error(error);
259259
return {
260260
content: [{ type: 'text', text: `Error: ${error.message}` }],
261261
isError: true,

0 commit comments

Comments
 (0)