We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e1c41 commit 03db9a2Copy full SHA for 03db9a2
1 file changed
tck/handlers/topic.py
@@ -110,9 +110,8 @@ def create_topic(params: CreateTopicParams) -> CreateTopicResponse:
110
except (PrecheckError, ReceiptStatusError) as exc:
111
status = ResponseCode(exc.status).name
112
if params.autoRenewAccountId and status == "INVALID_SIGNATURE" and auto_renew_account_state != "deleted":
113
- raise JsonRpcError.hiero_error({"status": "INVALID_AUTORENEW_ACCOUNT"})
114
-
115
+ raise JsonRpcError.hiero_error({"status": "INVALID_AUTORENEW_ACCOUNT"}) from exc
+ raise JsonRpcError.hiero_error({"status": status}) from exc
116
topic_id = ""
117
if receipt.status == ResponseCode.SUCCESS and receipt.topic_id is not None:
118
topic_id = str(receipt.topic_id)
0 commit comments