New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failures from cache PR #392
Comments
Oh no :/ Strange that the tests weren't failing on Travis in the PR builds 😕 I finally got myself some paid work 🎉 but it's on a really tight deadline and I've lost a few days from travel (I'm back in Thailand). I need to catch up on some work but I'll get this fixed ASAP. Probably either tonight or tomorrow night. |
Regarding 2bc2b90, it seems to me this was originally a bug in Got. The fact that So this bug has now just moved to We should definitely fix this so thrown requests (as opposed to errored) can be handled properly, however I don't think implementing the previous behaviour and returning the raw http error is a good idea. This isn't documented anywhere in Got and appears to just be side affect from previous code. I would suggest either throwing this as a Thoughts? Edit: Potential solution in jaredwray/cacheable#14 that would align neatly with Got's functionality. |
How is the Promise rejecting incorrect? It is currently accounted for in Promise mode, as 92ed73a proves. No idea about Stream mode though. |
👍 |
Ahh, my bad. If it's intentional then IMO it would be nicer if it could be returned as one of the proper Got error types, like I'll make that proposed change to |
First bullet point in your original comment should be resolved in #412. Actively looking into the failing cancel test. It's pretty difficult to pin down though, it never fails for me locally and only occasionally fails on Travis. |
Some issues after merging the cache PR:
// @lukechilds
The text was updated successfully, but these errors were encountered: