Jaishree2310/GlassyUI-Components

[Bug] Unhandled Promise Rejections across multiple files

开放

#638 创建于 2026年5月28日

 (1 条评论) (0 个反应) (1 位负责人)TypeScript (217 个派生)auto 404
good first issuegssoc'26gssoc:approvedtype:bug

仓库指标

星标
 (114 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南