-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
make swarm connect return an error when it fails #1900
Conversation
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
sweet :D thanks @whyrusleeping ! |
make swarm connect return an error when it fails
👍 |
@whyrusleeping i merged that too aggressively, i think we want to add a test case here to ensure that a failure does indeed fail with an API error. |
@diasdavid @whyrusleeping how do you guys feel about maybe leading feature development with test cases, i.e. this report could've started with a test case. |
Not opposed to that. |
I like that. In this case, the test was on the node-ipfs-api, should that be considered as a valid test case? |
@diasdavid not easy to run test case, and too broad. I think it could be a small sharness test here. — On Tue, Oct 27, 2015 at 8:20 PM, David Dias notifications@github.com
|
Should be something that fails this repo CI I think — On Tue, Oct 27, 2015 at 8:20 PM, David Dias notifications@github.com
|
@diasdavid made me look at this code a little more and i realized that if it fails, you wont know about it through the api.
This should fix that.
License: MIT
Signed-off-by: Jeromy jeromyj@gmail.com