in ionic4
like you instead of :
return await this.loadingCtrl.dismiss().then(() => console.log('dismissed'));
i use this:
return await this.loadingCtrl.dismiss().then(() => console.log('dismissed')).catch(() => {});
this is my error: (that solved) . thanks thanks thanks for your help and for sharing your experiences
ERROR Error: Uncaught (in promise): overlay does not exist at resolvePromise site:forum.ionicframework.com