human
I wrote the below code

    def decorator(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            try:
                result = func(*args, **kwargs)
            except Exception:
                logger.exception(u'Uncaught    exception    while    running    {0}'.format(func.__name__))
                raise
            return result
        return wrapper
    return decorator

What's a good function header?

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

def log_exceptions(logger):