lib/faraday/errors.rb in reviewed-0.1.29 vs lib/faraday/errors.rb in reviewed-0.1.30

- old
+ new

@@ -2,10 +2,10 @@ class Errors < Faraday::Middleware def call(env) @app.call(env).on_complete do if env[:response].status == 404 - raise Reviewed::ResourceNotFound.new('Not Found') + raise Reviewed::ResourceNotFound.new(msg: 'Not Found', url: env[:url]) end end end end end