From 2b931fcb60afcb24fd7c331eadd12dbfc4592e85 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Mon, 4 May 2020 19:57:07 -0600 Subject: [PATCH] fix: be sure to propagate handler failures --- packages/eventual-send/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eventual-send/src/index.js b/packages/eventual-send/src/index.js index 8f2adcd9fa2..3e97be67305 100644 --- a/packages/eventual-send/src/index.js +++ b/packages/eventual-send/src/index.js @@ -462,7 +462,7 @@ export function makeHandledPromise(Promise) { // so we don't risk the user's args leaking into this expansion. // eslint-disable-next-line no-use-before-define resolve(forwardingHandler[operation](o, ...opArgs, returnedP)); - }); + }).catch(reject); } }) .catch(reject);