human
I wrote the below code

    def w(*args, **kwds):
        try:
            func(*args, **kwds)
        except:
            printExc('Ignored    exception:')
    return w

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

def warnOnException(func):