log traceback if debug is True

Let's not ignore exception from wrapped function.