diff --git a/src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts b/src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts index af2a3d3c5..d9c38292f 100644 --- a/src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts +++ b/src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts @@ -530,7 +530,11 @@ namespace Uno.WebAssembly.Bootstrap { }) .then(function () { console.debug('Service Worker Registered'); - }); + }) + .catch(function(error) { + console.error('Error while registering service worker', error); + throw error; + }); } } }