2012/5/22 Bryan Oakley <
bryan....@gmail.com>:
> Is there any way to turn off the automatic DEBUG stack trace when a python
> keyword fails?
On Robot side there is no such functionality.
> I have a python keyword that does nothing but call a .NET function. When it
> fails, I get 16 lines of useless python traceback. I want to be able to turn
> that off just for this keyword (or, more accurately, a family of keywords)
Could you just catch the exception and raise a new one with its
message but without a traceback?
By the way, is this related to your generic Python wrapper for C#
libraries? Any change you could release it as an open source project
on GitHub or elsewhere? I'm sure others would find if useful and it
could also be used as a base if native C# library support is
implemented to the framework.
Cheers,
.peke
--
Agile Tester/Developer/Consultant ::
http://eliga.fi
Lead Developer of Robot Framework ::
http://robotframework.org