mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 11:51:14 -05:00
Fix remaining catch blocks
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user