Forum Discussion

AbilAjay's avatar
AbilAjay
Occasional Contributor
2 years ago
Solved

Runner.stop method didn't stop current routine

I have two routine test1() and test2(), i called test1() inside the test2(), like this def test1(): Log.error("kaboom") def test2(): test1(): Log.message("hello") Play back on error property s...
  • rraghvani's avatar
    2 years ago

    Read and understand Errors and Exceptions and Handling Exceptions in Scripts

     

    You're handling the exception error using the try...except statement. There's nothing in your except statement to indicate that the automation should stop.