From 9444c6bd4b04a9ab509a8edead604f78c22f4d3e Mon Sep 17 00:00:00 2001 From: Jessie R Date: Fri, 21 Jun 2024 14:24:50 +0700 Subject: [PATCH] fix: Remove recursive repr call (#29314) --- superset/commands/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/commands/exceptions.py b/superset/commands/exceptions.py index 7fc89ac1d..aa5188679 100644 --- a/superset/commands/exceptions.py +++ b/superset/commands/exceptions.py @@ -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):