fchierad / PRD

Repository to store ECMAScript code used in workflows created with the product NetIQ Identity Manager.
MIT License
2 stars 2 forks source link

Add PRD.util.JSON with try/catch and logerror statements #6

Closed fchierad closed 6 years ago

fchierad commented 6 years ago

This will help avoid errors in map activities when we are already trying to process error paths in the PRD.

fchierad commented 6 years ago

changed to PRD.util.JSONobj to avoid confusion. Idea is to have .parse() and .stringify() passing the request to the JSON object's regular parse and stringify functions, but wrapping the same in try/catch with logerror() used to output the error messages.

fchierad commented 6 years ago

passed validation testing.