Stack traces handling

Hello :wave:, when I make a POST request to the URL http://my_server_nexus.com/nexus/service/extdirect with the body:

{“action”:“coreui_Repository”,“method”:“invalidateCache”,“data”:[1],“type”:“rpc”,“tid”:13}

(“data” must be a String with a name of repository not a integer )

I get the following error:

{ “tid”: 13, “action”: “coreui_Repository”, “method”: “invalidateCache”, “message”: “IllegalArgumentException: ‘1’ is not a valid json text for the ‘java.lang.String’ Java type”, “where”: “”, “serverException”: { “rootException”: { “type”: “java.lang.IllegalArgumentException”, “message”: “1 is not a valid json text for the java.lang.String Java type”, “where”: “” }, “exception”: { “type”: “java.lang.IllegalArgumentException”, “message”: “1 is not a valid json text for the java.lang.String Java type”, “where”: “” }, “exceptions”: [ { “type”: “java.lang.IllegalArgumentException”, “message”: “1 is not a valid json text for the java.lang.String Java type”, “where”: “” } ] }, “type”: “exception” }

Is there a way to hide this error information somehow?
Thanks!