From 658b62cf386ebb3d2ff81c350afeef03ba4167f4 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Mon, 19 Oct 2020 19:49:16 -0700 Subject: [PATCH] fix: stop suppressing contract evaluation errors --- packages/zoe/src/contractFacet/evalContractCode.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/zoe/src/contractFacet/evalContractCode.js b/packages/zoe/src/contractFacet/evalContractCode.js index d42ff0b5dcc..ec22c61434e 100644 --- a/packages/zoe/src/contractFacet/evalContractCode.js +++ b/packages/zoe/src/contractFacet/evalContractCode.js @@ -23,7 +23,9 @@ const evalContractBundle = (bundle, additionalEndowments = {}) => { const installation = importBundle(bundle, { endowments: fullEndowments, - }).catch(() => {}); // Don't trigger Node.js's UnhandledPromiseRejectionWarning + }); + // Don't trigger Node.js's UnhandledPromiseRejectionWarning + installation.catch(() => {}); return installation; };