diff --git a/tests/helpers.js b/tests/helpers.js index 74010a1..d1ccdae 100644 --- a/tests/helpers.js +++ b/tests/helpers.js @@ -31,7 +31,9 @@ export const createInitialVc = async ({issuer, vc}) => { const body = {credential, options}; const {data, error} = await issuer.post({json: body}); if(error) { - throw error; + console.warn(`Issuance failed for ${issuer.settings.endpoint}`); + console.error(error); + console.log(JSON.stringify({body}, null, 2)); } return data; };