diff --git a/lib/msf/core/web_services/servlet/host_servlet.rb b/lib/msf/core/web_services/servlet/host_servlet.rb index cc4c8d7313..f090ac1666 100644 --- a/lib/msf/core/web_services/servlet/host_servlet.rb +++ b/lib/msf/core/web_services/servlet/host_servlet.rb @@ -34,7 +34,7 @@ module HostServlet data = data.first if is_single_object?(data, sanitized_params) set_json_data_response(response: data, includes: includes) rescue => e - print_error_and_create_response(error: e, message: 'There was an error getting hosts:', code: 500) + print_error_and_create_response(error: e, message: 'There was an error retrieving hosts:', code: 500) end } end