How to turn off the Callstack (_stack) value in PASOE Data Object Service json response?
When using the PASOE Web Transport and returning an error from the Data Object Service, the Callstack stack trace ( _stack) of the error is displayed in the JSON response:
// 20190530104655
// http://localhost:8840/myWebDataObjSrvcProj2/web/pdo/myUnitsWebDataObjSrvc/beUnits
{
"_retVal": "An Error has occurred",
"_errors": [
],
"_stack": [
"ReadbeUnits beUnits at line 85 (D:\\Work\\117\\PASOE-Work\\oepas4\\openedge\\beUnits.r)",
"Execute OpenEdge.Web.DataObject.ClassOperationHandler at line 26305 (OpenEdge/Web/DataObject/ClassOperationHandler.r)",
"PerformOperation OpenEdge.Web.DataObject.DataObjectHandler at line 618 (OpenEdge/Web/DataObject/DataObjectHandler.r)",
"HandleRequest OpenEdge.Web.DataObject.DataObjectHandler at line 451 (OpenEdge/Web/DataObject/DataObjectHandler.r)",
"HandleRequest OpenEdge.Web.DataObject.DataObjectHandler at line 354 (OpenEdge/Web/DataObject/DataObjectHandler.r)",
"HandleRequest OpenEdge.Web.InternalWebRouter at line 113 (OpenEdge/Web/InternalWebRouter.r)"
]
}
This is a potential security risk when accessing the Business Entity. How can this feature be turned off?