Jaishree2310/GlassyUI-Components

[Bug] Unhandled Promise Rejections across multiple files

Aberta

#638 aberto em 28 de mai. de 2026

 (1 comentário) (0 reação) (1 responsável)TypeScript (217 forks)auto 404
good first issuegssoc'26gssoc:approvedtype:bug

Métricas do repositório

Stars
 (114 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Hi there! I found .then() chains that do not have a .catch() block in several files. This can lead to unhandled promise rejections crashing the application or causing silent failures. Affected files include:\n- src/components/DropdowndetailsPage.tsx\n- src/components/StatisticDetails.tsx\n- src/components/CalendarDetails.tsx\n- src/components/NavigationDetailsPage.tsx\n- src/components/PaginationDetails.tsx\n\n### Proposed Approach:\n1. Append .catch(err => ...) to all dangling promises.\n2. Add proper user-facing error boundaries or toast notifications if the promise fails.\n3. Add logging for debugging.\n\nI would love to take this on for GSSoC '26. Could you please assign this to me?

Guia do colaborador