lib/alma/error.rb in alma-0.3.3 vs lib/alma/error.rb in alma-0.4.0

- old
+ new

@@ -8,10 +8,10 @@ def error_message (has_error?) ? error["errorList"]["error"]["errorMessage"] : "" end def error - @response.fetch("web_service_result", {}) + @response.fetch("web_service_result", {}) || {} end end module Alma class StandardError < ::StandardError