lib/amee/profile.rb in Floppy-amee-2.0.18 vs lib/amee/profile.rb in Floppy-amee-2.0.19
- old
+ new
@@ -40,11 +40,11 @@
# Store in array
self << profile
end
end
rescue
- raise AMEE::BadData.new("Couldn't load Profile list.")
+ raise AMEE::BadData.new("Couldn't load Profile list.\n#{response}")
end
attr_reader :pager
end
@@ -90,10 +90,10 @@
profile.connection = connection
# Done
return profile
end
rescue
- raise AMEE::BadData.new("Couldn't create Profile.")
+ raise AMEE::BadData.new("Couldn't create Profile.\n#{response}")
end
def self.delete(connection, uid)
# Deleting profiles takes a while... up the timeout to 60 seconds temporarily
t = connection.timeout