class Puma::LogWriter

def unknown_error(error, req=nil, text="Unknown error")

and +text+ additional info
+error+ an exception object, +req+ the request,
An unknown error has occurred.
def unknown_error(error, req=nil, text="Unknown error")
  @error_logger.info(error: error, req: req, text: text)
end