Skip to content

Commit

Permalink
HELLODATA-1887 - error: wrong action mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Slawomir Wieczorek committed Feb 7, 2025
1 parent abb9356 commit 5e791eb
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,12 @@ export class AuthEffects {
prolongCloudBeaverSession$ = createEffect(() => {
return this._actions$.pipe(
ofType(prolongCBSession),
switchMap(() => this._cloudbeaverService.renewSession()),
switchMap(() => this._cloudbeaverService.renewSession().pipe(
catchError(e => of(showError({error: e}))))
),
switchMap(() => {
return EMPTY;
}),
catchError(e => of(showError({error: e})))
)
});
Expand Down

0 comments on commit 5e791eb

Please sign in to comment.