Skip to content

Commit

Permalink
Improve failure error message for invoice-canister
Browse files Browse the repository at this point in the history
  • Loading branch information
ninegua committed Apr 26, 2024
1 parent b3c025d commit ca1c608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motoko/invoice-canister/clean-startup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ const second_e2e_precheck = async ({ testing }) => {
const invoiceCanisterId = `${await $`dfx canister id invoice`}`.trim();
if (invoiceCanisterId !== constants.invoiceCanisterId) {
throw new Error(
'Mismatch between expected canister id and current invoice canister id\n'
`Mismatch between expected canister id ${constants.invoiceCanisterId} and current invoice canister id ${invoiceCanisterId}`{\n'
+'indicates breaking change for E2E tests. Aborting...',
);
}
Expand Down

0 comments on commit ca1c608

Please sign in to comment.