diff --git a/src/runtime/update-component.ts b/src/runtime/update-component.ts index 3220c0390d2..3da74637433 100644 --- a/src/runtime/update-component.ts +++ b/src/runtime/update-component.ts @@ -137,7 +137,12 @@ const dispatchHooks = (hostRef: d.HostRef, isInitialLoad: boolean): Promise | undefined, fn: () => Promise): Promise | undefined => - isPromisey(maybePromise) ? maybePromise.then(fn) : fn(); + isPromisey(maybePromise) + ? maybePromise.then(fn).catch((err) => { + console.error(err); + fn(); + }) + : fn(); /** * Check that a value is a `Promise`. To check, we first see if the value is an