lib/xray/middleware.rb in xray-rails-0.3.1 vs lib/xray/middleware.rb in xray-rails-0.3.2

- old
+ new

@@ -14,10 +14,10 @@ def call(env) # Request for opening a file path. if env['PATH_INFO'] == OPEN_PATH req, res = Rack::Request.new(env), Rack::Response.new - out, err, status = Xray.open_file(req.GET['path']) + out, _err, status = Xray.open_file(req.GET['path']) if status.success? res.status = 200 else res.write out res.status = 500