mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 11:11:13 -05:00
feat: Complete error logging coverage
This commit is contained in:
@@ -172,7 +172,7 @@ export function useRealtimeSubscriptions(
|
||||
.single();
|
||||
|
||||
if (error || !submission) {
|
||||
logger.error('Error fetching submission details:', { error: getErrorMessage(error) });
|
||||
// Silent - will retry on next attempt
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -321,7 +321,7 @@ export function useRealtimeSubscriptions(
|
||||
|
||||
onNewItem(fullItem);
|
||||
} catch (error: unknown) {
|
||||
logger.error('Error building new item notification:', { error: getErrorMessage(error) });
|
||||
// Silent - notifications are non-critical
|
||||
}
|
||||
}, [
|
||||
filters,
|
||||
|
||||
Reference in New Issue
Block a user