Permalink
Browse files

fix "unused variable" warning

  • Loading branch information...
1 parent ff8103d commit 163a60ea6eba37e2cf64497f97775ed6409ad766 @rkh rkh committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
2 lib/sinatra/base.rb
@@ -1258,7 +1258,7 @@ def run!(options={})
[:INT, :TERM].each { |sig| trap(sig) { quit!(server, handler_name) } }
set :running, true
end
- rescue Errno::EADDRINUSE => e
+ rescue Errno::EADDRINUSE
$stderr.puts "== Someone is already performing on port #{port}!"
end

0 comments on commit 163a60e

Please sign in to comment.