My company has a coding standard that basically requires error handling for object cloning, but I am not really sure how to implement the Error Handling command to account for every single object cloning instance. Here is my current setup:The Error Handling command only has options to "continue" or "stop task".. if I select Continue but the object clone fails, the bot fails entirely so I don't see how Error Handling will help. If I choose Stop Task, I don't really want it to Stop.. I want it to close everything and restart from line 1.
All of the object cloning commands are inside of a loop. Am I supposed to make each object clone a sub task and write "if task fails then .." ? that seems incredibly inefficient and possibly cause more issues than leaving it as is.
Thoughts?