Convenience method for logging an ERROR with exception information.

def exception(  # type: ignore
        self, msg, *args, exc_info=True, **kwargs
    ) -> Task:
        """
        Convenience method for logging an ERROR with exception information.
        """
        return self.error(msg, *args, exc_info=exc_info, **kwargs)