sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36500
Re: [Question #281015]: How to preserve all information of an error when using an error handles
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.