human
I wrote the below code

    @wraps(func)
    def inner(self, sql, *args, **kwargs):
        try:
            return func(self, sql, *args, **kwargs)
        except Exception as e:
            exc_info = sys.exc_info()
            msg = '{}\nSQL:    {}'.format(repr(e), sql)
            six.reraise(exc_info[0], exc_info[0](msg), exc_info[2])
    return inner

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

def less_shitty_error_messages(func):