From ca1c6086965108f9403cdc0e67246d883b675b83 Mon Sep 17 00:00:00 2001 From: "Paul H. Liu" Date: Thu, 25 Apr 2024 21:57:43 -0700 Subject: [PATCH] Improve failure error message for invoice-canister --- motoko/invoice-canister/clean-startup.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motoko/invoice-canister/clean-startup.mjs b/motoko/invoice-canister/clean-startup.mjs index 50c2911f4..d9615debd 100644 --- a/motoko/invoice-canister/clean-startup.mjs +++ b/motoko/invoice-canister/clean-startup.mjs @@ -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...', ); }