diff --git a/src/create_app.ts b/src/create_app.ts index fb7cf55d5..dbb0fe2a7 100644 --- a/src/create_app.ts +++ b/src/create_app.ts @@ -338,7 +338,10 @@ export default class CreateApp implements AppInterface { if (isPromise(umdHookMountResult)) { umdHookMountResult .then(() => this.dispatchMountedEvent()) - .catch(() => this.dispatchMountedEvent()) + .catch((e) => { + logError('An error occurred in window.mount \n', this.name, e) + this.dispatchMountedEvent() + }) } else { this.dispatchMountedEvent() }