Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix "unused variable" warning

  • Loading branch information...
commit 163a60ea6eba37e2cf64497f97775ed6409ad766 1 parent ff8103d
@rkh rkh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.