New question #281015 on Sikuli:
https://answers.launchpad.net/sikuli/+question/281015
Hellow,
i have implemented an error handler that takes an screenshot when sikuli can
not find an image. The problem is that now, all the information that sikuli
usualy gives about the class, the function and the line where the error has
produced doesn't appear in the logs.
try:
ClassX.function1()
ClassX.function2()
ClassY.function1()
ClassY.function2()
except FindFailed:
print sys.exc_info()
path = getBundlePath() + "\\..\\"
name = "error.png"
Common.takeAScreenshot(path,name)
I have found that the command sys.exc_info() gives a part of this information,
but not the whole error.
Anyone knows a possible solution?
--
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