typegoose / typegoose/mongodb-memory-server
Update Error messages for failed downloads
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 191
- Avg merge
- 4h 25m
- Merged PRs (30d)
- 10
Description
Currently the Errors for failed downloads are not very helpful, like:
it only says that the code is not 200, but not which code it actually was.
there are also some other errors thrown for failed downloaded which should also be handled better
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in packages/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts at the linked line, then locate the other errors raised for failed downloads. Improve the messages so failures report the relevant response details, including the actual status code, and verify that all identified download failure paths are covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100