lib/vegas/runner.rb in vegas-0.1.4 vs lib/vegas/runner.rb in vegas-0.1.5
- old
+ new
@@ -254,10 +254,10 @@
handler = nil
@app.server.each do |server|
begin
handler = Rack::Handler.get(server)
break
- rescue NameError => e
+ rescue LoadError, NameError => e
next
end
end
handler