From ec0469b56c2b6d537e75d0a0367f7bddd10bcb89 Mon Sep 17 00:00:00 2001 From: BowTiedRadone Date: Thu, 2 Jan 2025 11:16:54 +0200 Subject: [PATCH] Fix error message for contract not found in manifest --- citizen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citizen.ts b/citizen.ts index d3df863e..25e4320f 100644 --- a/citizen.ts +++ b/citizen.ts @@ -227,7 +227,7 @@ export const buildRendezvousData = ( }; } catch (e: any) { throw new Error( - `Error processing contract ${contractName.split(".")[1]}: ${e.message}` + `Error processing "${contractName}" contract: ${e.message}` ); } }; @@ -256,7 +256,7 @@ const getSimnetPlanContractSource = ( if (contractInfo == undefined) { throw new Error( - `Contract ${sutContractName} not found in the Clarinet.toml.` + `"${sutContractName}" contract not found in Clarinet.toml.` ); }