Skip to content

Commit 44fb5f9

Browse files
fix: handled error
1 parent 39cce03 commit 44fb5f9

File tree

1 file changed

+1
-0
lines changed
  • docs/quick-start/developers/nft-dapp

1 file changed

+1
-0
lines changed

docs/quick-start/developers/nft-dapp/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ const GetParentChainHeight = async () => {
514514
} catch (error) {
515515
// If there's an error, log it and return an error status.
516516
console.error(error, "=====error in GetParentChainHeight");
517+
throw new Error("Failed to Get Parent Chain Height.");
517518
return "error";
518519
}
519520
};

0 commit comments

Comments
 (0)