You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i have to hide loader after service is completed failed or not.
My issue is when request fails with any reason like wrong credentials execution stops & it never reaches to this.loader.hide();
How to handle this without using then. In my project all methods are called with await. so i can't remove await & use then. It will require so much rework.
Anyone can tell me what am i missing here?
The text was updated successfully, but these errors were encountered:
I have error interceptor like below
Below is code of my auth service
And this is how i am calling it in my component
So i have to hide loader after service is completed failed or not.
My issue is when request fails with any reason like wrong credentials execution stops & it never reaches to
this.loader.hide();
How to handle this without using
then
. In my project all methods are called withawait
. so i can't remove await & use then. It will require so much rework.Anyone can tell me what am i missing here?
The text was updated successfully, but these errors were encountered: