Handling ValueError exception when commands executed
Compare changes
+ 7
− 7
@@ -118,7 +118,12 @@ class lazy_credential():
@@ -118,7 +118,12 @@ class lazy_credential():
@@ -141,12 +146,7 @@ def set_server(ctx, url, token, use_auth=True):
@@ -141,12 +146,7 @@ def set_server(ctx, url, token, use_auth=True):
raise click.ClickException("Error while retrieving password from keyring: {}. Your password may be incorrect.".format(e.args[0]))