diff --git a/src/store/modules/user/actions.ts b/src/store/modules/user/actions.ts index d80c990e..650b8faa 100644 --- a/src/store/modules/user/actions.ts +++ b/src/store/modules/user/actions.ts @@ -182,6 +182,7 @@ const actions: ActionTree = { } } catch(err) { logger.error("Failed to fetch facilities") + throw err } // Updating current facility with a default first facility when fetching facilities on login