mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 03:31:12 -05:00
Refactor: Implement logging phases
This commit is contained in:
@@ -7,6 +7,7 @@ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@
|
||||
import { AlertTriangle, CheckCircle, RefreshCw, Loader2 } from 'lucide-react';
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { format } from 'date-fns';
|
||||
import { logger } from '@/lib/logger';
|
||||
|
||||
interface DuplicateStats {
|
||||
date: string | null;
|
||||
@@ -86,7 +87,7 @@ export function NotificationDebugPanel() {
|
||||
})));
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Failed to load notification debug data:', error);
|
||||
logger.error('Failed to load notification debug data', { error });
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user