We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7daea69 commit fbabc97Copy full SHA for fbabc97
1 file changed
packages/console/app/src/routes/zen/util/handler.ts
@@ -330,6 +330,7 @@ export async function handler(
330
logger.metric({
331
"error.type": error.constructor.name,
332
"error.message": error.message,
333
+ "error.cause": error.cause?.toString(),
334
})
335
336
// Note: both top level "type" and "error.type" fields are used by the @ai-sdk/anthropic client to render the error message.
0 commit comments