Thanks for your response!
I think that’s another challenge that all are trying to resolve.
How to log inside “Invoke code” activity?
I used try catch block around invoke code to capture error using System.Exception, System.Reflection.TargetInvocationException and SystemException.Exception(as per log on orchestrator) but no luck in getting message logged or error rethrown.
Code doesn’t break now and bypasses Invoke Code activity without failure