Improve error handling in CalendarButton component
Open
bug
cat-reloaded-2026
enhancement
frontend
good first issue
- Dominant language
- Python
- Stars
- 451
- Forks
- 702
- Avg merge
- 22h 59m
- Merged PRs (30d)
- 91
Description
## Description
The CalendarButton component currently uses console.error with an ESLint disable comment when handling download errors.
This approach can be improved for better code quality and maintainability.
## Proposed Improvement
- Replace console.error with console.warn
- Remove ESLint disable comment
- Add safer fallback using err?.message
## Benefits
- Cleaner logging
- Better error handling practices
- Maintains user-friendly feedback via toast notifications
Contributor guide
Assessment
This issue has not been assessed yet.