developmentseed / developmentseed/stac-map
Better error message when CORS is not enabled
Open
Beginner friendly
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 15
- Avg merge
- 15h 14m
- Merged PRs (30d)
- 9
Description
If CORS is not enabled for a STAC endpoint, the error message is opaque:
A better error message would let folks know why we couldn't load their STAC.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the STAC loading and error-handling entry point in the TypeScript application, then reproduce the failure with a STAC endpoint that does not enable CORS. Done means the resulting error clearly explains that the STAC could not be loaded because of CORS configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100