human
I wrote the below code

    @functools.wraps(fn)
    def squelched_fn(*a, **kw):
        try:
            return fn(*a, **kw)
        except BaseException:
            if g.debug:
                raise
            else:
                g.log.exception('squelching    exception')
    return squelched_fn

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def squelch_exceptions(fn):