From: Kevin Wasserman Date: Thu, 15 Jan 2015 18:17:36 +0000 (-0500) Subject: add 'what' parameter on error X-Git-Url: http://www.project-moonshot.org/gitweb/?p=gssweb.git;a=commitdiff_plain;h=61483eca0cf4791eb01828c4b0e735139851ee42 add 'what' parameter on error --- diff --git a/json_gssapi/src/GSSRequest.cpp b/json_gssapi/src/GSSRequest.cpp index 05d189d..3c193ca 100644 --- a/json_gssapi/src/GSSRequest.cpp +++ b/json_gssapi/src/GSSRequest.cpp @@ -55,7 +55,8 @@ void GSSRequest::execute() JSONObject return_values; return_values.set("major_status", e.getMajor()); return_values.set("minor_status", e.getMinor()); -// response.set("error_message", e.what()); + return_values.set("what", e.what()); + response.set("return_values", return_values); } }