fix: Remove recursive repr call (#29314)

This commit is contained in:
Jessie R
2024-06-21 14:24:50 +07:00
committed by GitHub
parent 8c990adabe
commit 9444c6bd4b

View File

@@ -28,7 +28,7 @@ class CommandException(SupersetException):
def __repr__(self) -> str:
if self._exception:
return repr(self._exception)
return repr(self)
return super().__repr__()
class ObjectNotFoundError(CommandException):