Description - notifyMontors to be passed with more information on actual error and action name.
Why is this feature important to you - We need to track action errors in production.
How would you like the feature to work - I;d like actual error and action/element name also to be passed to notify Monitors function. We would then track this in adobe analytics itself of any errors that have occurred.
Current Behaviour - Presently this function is passed just the rule and action but not the action display name.
More in detail:
e.g.
present :
logger.error(getRuleComponentErrorMessage(actionDisplayName, rule.name, e));
notifyMonitors('ruleActionFailed', { rule: rule, action: action });
to be modified to:
logger.error(getRuleComponentErrorMessage(actionDisplayName, rule.name, e));
notifyMonitors('ruleActionFailed', { rule: rule, action: action, actionDisplayName: actionDisplayName, error: e });
Thanks
Samrat Dsouza