Make error message use same language as others
parent
e1c6799076
commit
7b22527f8f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue