Fixes a silent fail when attempting to add a slave.

Fixes #42
Merge pull request #43 from schplat/fix_error_output

Fixes a silent fail when attempting to add a slave.