Created
July 1, 2016 10:14
-
-
Save clayg/dc207e72f1f2e83e06ce812f7efe9b59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/swift-get-nodes b/bin/swift-get-nodes | |
index d52480e..00ae50a 100755 | |
--- a/bin/swift-get-nodes | |
+++ b/bin/swift-get-nodes | |
@@ -52,8 +52,9 @@ if __name__ == '__main__': | |
try: | |
ring_path, args = parse_get_node_args(options, args) | |
- except InfoSystemExit: | |
- sys.exit(parser.print_help()) | |
+ except InfoSystemExit as e: | |
+ parser.print_help() | |
+ sys.exit('ERROR: %s' % e) | |
ring = ring_name = None | |
if ring_path: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment