1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Update comment for Puma::Events#unknown_error (does not take an env (request) anymore)

This commit is contained in:
Jeffrey 'jf' Lim 2016-04-11 16:28:30 +08:00
parent d2da2caf49
commit 419d3462de

View file

@ -106,8 +106,8 @@ module Puma
end
# An unknown error has occurred.
# +server+ is the Server object, +env+ the request, +error+ an exception
# object, and +kind+ some additional info.
# +server+ is the Server object, +error+ an exception object, and
# +kind+ some additional info.
#
def unknown_error(server, error, kind="Unknown")
if error.respond_to? :render