Great, now you have the data you need. Create an Argument with the direction ‘Out’, You can assign the exception object from the catch block inside the workflow which you are invoking.
Now in Main.Xaml, from where you are invoking it from Create a variable of type exception and assign in Import Arguments of the ‘Invoke Workflow’ Activity.
Now using this exception variable you should be able to get the ‘exception.data’ in the ‘Main.xaml’.
I Could see these are log messages from the module where the error is happening. You need to use Rethrow in the module where error is happening and catch the activity name and description of the error from the Parent flow where you are invoking from just like in the sample i had shared earlier.
@prasath_S , Could you please check this thread and provide an insight.
Check this Sample , You need to have the Rethrow in the module where the error is occurring and get the activity name and description from the module where you invoke the module throwing an error.