Implement client-side error timing

This commit is contained in:
gpt-engineer-app[bot]
2025-11-05 04:20:55 +00:00
parent acfbf872d2
commit 66bdb36b03
3 changed files with 29 additions and 7 deletions

View File

@@ -165,7 +165,7 @@ export default function ErrorMonitoring() {
<div className="flex items-center gap-4 text-xs text-muted-foreground">
<span>ID: {error.request_id.slice(0, 8)}</span>
<span>{format(new Date(error.created_at), 'PPp')}</span>
<span>{error.duration_ms}ms</span>
{error.duration_ms != null && <span>{error.duration_ms}ms</span>}
</div>
</div>
</div>