← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #679532]: How to stop waiting in main script by observer handler

 

Question #679532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679532

    Status: Needs information => Open

partosXP gave more information on the question:
Using "exit()" - just stops execution of handler-function, but dont make
any change to main process script.

def ErrorHandler(event):
print "First Error message by Handler"
exit()
print "Second Error message by Handler"

- it prints only first messege, not the second one (execution
terminated, i think)

 And after that - still waiting 300 sec for target element in main
script.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.