How to pring/log the build-in exception stack trace?

1,567 views
Skip to first unread message

Jobs Lam

unread,
Feb 14, 2014, 4:50:15 AM2/14/14
to robotframe...@googlegroups.com
I write an library with Python. 

A build-in expcetion was rasied when I debug some funtion in robot.But I could not know the line that occured.

Because only the exception message have been logged but not the exception stack trace .

How can the robot framework log/print the build-in exception stack trace that rasied in python?


Kevin O.

unread,
Feb 14, 2014, 9:49:41 AM2/14/14
to robotframe...@googlegroups.com
use the arguments to the runner:
--loglevel DEBUG
This will cause stacktraces to be appear in the log.

Jobs Lam

unread,
Feb 16, 2014, 9:09:56 PM2/16/14
to robotframe...@googlegroups.com
Thanks,it's work!
At the same time ,the output.xml also has the traceback.
Reply all
Reply to author
Forward
0 new messages