def report(function, *args, **kwds):
try:<EOL><INDENT>function(*args, **kwds)<EOL><DEDENT>except Exception:<EOL><INDENT>traceback.print_exc()<EOL><DEDENT>
Run a function, catch, report and discard exceptions