# File lib_core/rucy/messenger.rb, line 294 def write_server_error(socket, request, exception) write_error_page(socket, request) { |response| response.status = 500 response.start_body if (request.method != 'HEAD') then response << exception.message << "\n" end } nil end