Fix remaining catch blocks

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 17:08:24 +00:00
parent e9ae019285
commit 81fccdc4d0
10 changed files with 112 additions and 56 deletions

View File

@@ -60,7 +60,7 @@ export async function trackRequest<T>(
return { result, requestId: context.requestId, duration };
} catch (error) {
} catch (error: unknown) {
const duration = Date.now() - start;
const errorInfo = error instanceof Error
? { type: error.name, message: error.message }