← Back to team overview

sikuli-driver team mailing list archive

[Question #675371]: Sikuli 1.1.3: How to display the code of the line which threw the error.

 

New question #675371 on Sikuli:
https://answers.launchpad.net/sikuli/+question/675371

In a script that I wrote, I have exception handling which logs the error information for review later. I would like to include the actual code that is located on the line which threw the error.  Is there an efficient way of doing that? I have tried opening up the actual .PY file and pulling the line # which errored from it, but that is not working well (getting an maximum recursion depth error when I do). Is there a better way?

I appreciate any recommendations!

Thanks,

Ron Turrentine

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