examples/password_reset.rb in archivesspace-client-0.1.2 vs examples/password_reset.rb in archivesspace-client-0.1.3
- old
+ new
@@ -8,8 +8,8 @@
# default client connection: localhost:8089, admin, admin
client = ArchivesSpace::Client.new.login
begin
client.password_reset username, password
puts "Successfully updated password for #{username}."
-rescue Exception => e
- puts "Failed to update password for #{username},\n#{e.message}"
+rescue Exception => ex
+ puts "Failed to update password for #{username},\n#{ex.message}"
end