Skip to content
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

Distribute service returns an empty error when no connections to distribute to #274

joehobson opened this issue Apr 7, 2014 · 0 comments


Copy link

commented Apr 7, 2014

Testing the distribute service, I started with a node that had no connections setup for distribution. I manually started the distribute service

curl -XPOST -H "Content-Type:application/json" http://localhost/distribute

and it returned what looks like an empty error string:

{"error": ""}

Looking at the log, I found this:

22:36:46,540 INFO [lr.controllers.distribute] [MainThread] No connection present for distribution

This would be a much more helpful output and lines up with what is returned when it runs with connections in place:

    "connections": [],
    "ok": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.