summaryrefslogtreecommitdiff
path: root/lib/webrick/cgi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webrick/cgi.rb')
-rw-r--r--lib/webrick/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/cgi.rb b/lib/webrick/cgi.rb
index 7099d14689..806d050bc9 100644
--- a/lib/webrick/cgi.rb
+++ b/lib/webrick/cgi.rb
@@ -143,7 +143,7 @@ module WEBrick
setup_header
@header_part << CRLF
@header_part.rewind
- rescue Exception => ex
+ rescue Exception
raise CGIError, "invalid CGI environment"
end
end