Cli: fix error description should be appended
This commit is contained in:
@@ -163,7 +163,7 @@ class ClanError(Exception):
|
|||||||
exception_msg += self.msg
|
exception_msg += self.msg
|
||||||
|
|
||||||
if self.description:
|
if self.description:
|
||||||
exception_msg = f" - {self.description}"
|
exception_msg += f" - {self.description}"
|
||||||
super().__init__(exception_msg)
|
super().__init__(exception_msg)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user