Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Publisher] Update loading error display logic to handle migration errors #1318

Open
mxosman opened this issue Apr 30, 2024 · 0 comments
Open
Assignees

Comments

@mxosman
Copy link
Contributor

mxosman commented Apr 30, 2024

We recently had the following migration error, which resulted in the staging version of the app to display the No agency has been connected to this account. error message.

This one may be a bit tricky because the logic in updateAndRetrieveUserPermissionsAndAgencies sets the loadingError to true if an error was raised during the request/response, and since the loadingError was not set to true, it appears that the request went through and received a response successfully, but with no list of agencies (current assumption). We should explore a potential solution for this edge-case if one is possible on the FE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant