mongodb-memory-server icon indicating copy to clipboard operation
mongodb-memory-server copied to clipboard

Update Error messages for failed downloads

Open hasezoey opened this issue 2 years ago • 3 comments

Currently the Errors for failed downloads are not very helpful, like:

https://github.com/nodkz/mongodb-memory-server/blob/2d46099b857421d2fd7737a4328ed9146cce2a90/packages/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts#L434

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

hasezoey avatar Dec 05 '22 17:12 hasezoey

@hasezoey I wanted to test my app but this dependency fails to download. Can you solve this problem or help me to contribute to fixing this issue?

SaptatirthaChoudhury avatar Jun 06 '23 16:06 SaptatirthaChoudhury

@SaptatirthaChoudhury please check if your error is similar to existing issues (also include your distro / system and architecture in the search) or open a new issue or discussion or ask on our discord

depending on which system you are on, also read Supported Systems

hasezoey avatar Jun 06 '23 17:06 hasezoey

My system is Windows 10, with 64-bit architecture. I have tried to download mongoDB-memory-server but it couldn't complete the whole file and not showing any error message. But I have downloaded another one which is mongoDB-memory-server-core.

SaptatirthaChoudhury avatar Jun 06 '23 17:06 SaptatirthaChoudhury