-
Notifications
You must be signed in to change notification settings - Fork 18
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
Throws timeout if header value is not given in list #1
Comments
On removing the In [2]: fido.fetch("http://google.com", headers={'Accept-Charset': 'utf-8'})
Out[2]: <Future at 0x255ed50 state=running> On adding a debug point and watching the trace, it turns out that
But, addding this in try:
a = Headers(headers)
except Exception as e:
print e
So, IMO the PR still holds good. It is the creation of the future object which is eating up the exception. |
I think that is the correct behaviour. A future should compose an exception, and it should get raised when we try to resolve the future. But I would not except a So there is still another bug here somewhere, masking the original exception. |
The text was updated successfully, but these errors were encountered: