Note that log.exception takes the exception automatically from the current frame -- no need to pass it explicitly.  Isn't that sufficient?