lib/globus_client/identity.rb in globus_client-0.7.0 vs lib/globus_client/identity.rb in globus_client-0.8.0
- old
+ new
@@ -18,10 +18,11 @@
end
def exists?(user_id)
get_identity_id(user_id)
true
- rescue
+ # if no active user is returned
+ rescue RuntimeError
false
end
private