mirror of https://github.com/apache/superset.git
fix: Remove recursive repr call (#29314)
This commit is contained in:
parent
8c990adabe
commit
9444c6bd4b
|
@ -28,7 +28,7 @@ class CommandException(SupersetException):
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
if self._exception:
|
if self._exception:
|
||||||
return repr(self._exception)
|
return repr(self._exception)
|
||||||
return repr(self)
|
return super().__repr__()
|
||||||
|
|
||||||
|
|
||||||
class ObjectNotFoundError(CommandException):
|
class ObjectNotFoundError(CommandException):
|
||||||
|
|
Loading…
Reference in New Issue