lib/shelly/cli/main.rb in shelly-0.0.27 vs lib/shelly/cli/main.rb in shelly-0.0.28

- old
+ new

@@ -51,10 +51,11 @@ conflict = false rescue RestClient::Conflict conflict = true end say "Uploading your public SSH key" if conflict == false - invoke :list + email = nil + list rescue Client::APIError => e if e.validation? e.each_error { |error| say_error "#{error}", :with_exit => false } end if e.unauthorized?