← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #172177]: Customized Error Messages / Hide Code in Error Message

 

Question #172177 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/172177

    Status: Open => Answered

RaiMan proposed the following answer:
-- you say: the error box shows
are you talking about the popup, that comes up at exceptions, when running a script from command line?
this can be suppressed (redirected to the command line's stout using the parameter -s

-- Generally: 
you have to use try: except: to catch exceptions and handle your own messaging (e.g. to a file) in the except: branch. 
mor info: http://jythonpodcast.hostjava.net/jythonbook/chapter6.html#chapter-6-exception-handling-and-debugging

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.