Created on Mar 18, 2015
@author: jmht
exit_error
(*args, **kwargs)[source]¶Exit on error collecting as much information as we can.
Parameters: | message (str, optional) – A error message to print |
---|
Notes
This previously accepted two arguments of a string to print as an error message and an exception traceback. We now just use sys.exch_info() so the messsage argument is no longer required but optional. While we refactor the code, we’ll use *args to get any argument parameters passed in as the first argument.