From 2c544cabaa20e36e1afebcb61b584547bc3e5a86 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Sun, 11 Mar 2012 11:36:26 +0100 Subject: [PATCH] fix "unused variable" warning --- lib/sinatra/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb index 177e8147..fce5aaa5 100644 --- a/lib/sinatra/base.rb +++ b/lib/sinatra/base.rb @@ -1355,7 +1355,7 @@ module Sinatra set :running, true yield server if block_given? end - rescue Errno::EADDRINUSE => e + rescue Errno::EADDRINUSE $stderr.puts "== Someone is already performing on port #{port}!" end