catch_and_exit

lsst.daf.butler.cli.utils.catch_and_exit(func)

Decorator which catches all exceptions, prints an exception traceback and signals click to exit.