Skip to content

Commit

Permalink
fix: adjust error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nedpals committed Jan 8, 2024
1 parent 0211140 commit 85924af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const destroyPopNavigation = appEvents.onNavigationPop?.({
const { data, isLoading, status, error: healthError } = useQuery(['health'], async () => {
const status = await client.checkHealth();
if (!status.isAlive) {
if (status.status >= 500) {
if (status.status >= 500 || status.status == 404) {
throw new Error('Something is wrong when talking to UIC servers. Please try again later. Visit <a href="https://facebook.com/uicph">UIC Facebook Page</a> for more details.');
} else if (status.status >= 400) {
throw new Error('Might be a problem on our side. Please report this issue and try again later.');
Expand Down

0 comments on commit 85924af

Please sign in to comment.