Question #281015 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/281015
Status: Open => Answered
Evgen proposed the following answer:
This should help:
try:
ClassX.function1()
...
except FindFailed as textoferror:
print(textoferror)
...
See https://docs.python.org/2/tutorial/errors.html for details
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp