From dca3c6e260b30a7fe7dbe0b16d596fb0bb266c57 Mon Sep 17 00:00:00 2001 From: Parth Desai Date: Mon, 2 Dec 2024 18:30:46 +0400 Subject: [PATCH] proper error message --- .../test_zombie_tanssi_relay_eth_bridge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts b/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts index eaf495d01..2bf2595d6 100644 --- a/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts +++ b/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts @@ -182,7 +182,7 @@ describeSuite({ const tx = await gatewayContract.sendOperatorsData(rawValidators, 1); await tx.wait(); } catch (error) { - throw new Error(`Failed to create vault: ${error.message}`, error.code); + throw new Error(`Failed to send operator data: ${error.message}`, error.code); } // wait some time for the data to be relayed