Feature #6236 » standarderror.patch
lib/webrick/server.rb | ||
---|---|---|
rescue Errno::EBADF, IOError => ex
|
||
# if the listening socket was closed in GenericServer#shutdown,
|
||
# IO::select raise it.
|
||
rescue Exception => ex
|
||
rescue StandardError => ex
|
||
msg = "#{ex.class}: #{ex.message}\n\t#{ex.backtrace[0]}"
|
||
@logger.error msg
|
||
rescue Exception => ex
|
||
@logger.error ex
|
||
raise
|
||
end
|
||
end
|
||