Skip to content

Commit

Permalink
Fix error message for contract not found in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedRadone committed Jan 2, 2025
1 parent a1467dd commit ec0469b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions citizen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
);
}
};
Expand Down Expand Up @@ -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.`
);
}

Expand Down

0 comments on commit ec0469b

Please sign in to comment.