Prefer a `log.exception` as it will automatically capture the exception details. This is useful for log handlers (such as Sentry) that takes the exception details and displays them in the UI.