fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)

This commit is contained in:
Kit Langton 2026-04-15 21:33:54 -04:00 committed by GitHub
parent bbdbc107ae
commit f7d4665e40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
80 changed files with 82 additions and 106 deletions

View file

@ -345,7 +345,7 @@ export async function handler(
logger.metric({
"error.cause2": JSON.stringify(error.cause),
})
} catch (e) {}
} catch {}
}
// Note: both top level "type" and "error.type" fields are used by the @ai-sdk/anthropic client to render the error message.