I'm not sure this is possible.
The name of the erroring component is not made available in the event handlers. Only the name of the dataflow is made available (System::TaskName).
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP