GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sync · msis/opencode@34f43ff

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/console/app/src/routes/zen/util
    • handler.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/console/app/src/routes/zen/util/handler.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/routes/zen/util/handler.ts
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,13 @@ export async function handler(
340340
"error.message": error.message,
341341
"error.cause": error.cause?.toString(),
342342
})
343+
if (error.message.startsWith("Failed query")) {
344+
try {
345+
logger.metric({
346+
"error.cause2": JSON.stringify(error.cause),
347+
})
348+
} catch (e) {}
349+
}
343350

344351
// Note: both top level "type" and "error.type" fields are used by the @ai-sdk/anthropic client to render the error message.
345352
if (

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.