api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Change printStackTrace property of 400 ExceptionCodes to 'false'

Open rmsamitha opened this issue 1 year ago • 0 comments

Exception codes in src/main/java/org/wso2/carbon/apimgt/api/ExceptionCodes.java has items of 400 type (status code), but the printStackTrace property of most of them are set to default 'true'. These needs to be set 'false' as for the 400 (bad request) scenarios, we should not print anything in the server logs. Check such all codes and change the value to 'false' appropriately if the related scenario is completely a "bad request" from client.

rmsamitha avatar Jul 05 '24 06:07 rmsamitha