From 73b8b3bbd79aa57d2d2e00dd936a948bd9b4fcc6 Mon Sep 17 00:00:00 2001 From: aazhou1 Date: Sat, 21 Dec 2024 00:55:01 -0800 Subject: [PATCH] deploy strategy --- hardhat-scripts/deploy-strategy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardhat-scripts/deploy-strategy.ts b/hardhat-scripts/deploy-strategy.ts index df9d51b8..051b21b8 100644 --- a/hardhat-scripts/deploy-strategy.ts +++ b/hardhat-scripts/deploy-strategy.ts @@ -44,7 +44,7 @@ async function checkUnderlyingVaultAsset( ); const underlyingAsset = await vault.asset(); if (underlyingAsset.toLowerCase() !== asset.toLowerCase()) { - throw new Error("Underlying asset does not match asset"); + throw new Error(`Underlying asset (${underlyingAsset}) does not match asset (${asset})`); } }