Skip to content

Commit

Permalink
add custom error message for session time out issue in Verifier compo… (
Browse files Browse the repository at this point in the history
#1317)

add custom error message for session time out issue in Verifier component
  • Loading branch information
Aswanth-c authored Apr 4, 2024
1 parent 29cc96d commit 832804e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ui/src/pages/Verifier/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,16 @@ const Verifier: React.FC = () => {
error: `Error: ${rawRes.status} ${rawRes.statusText}`,
};
} else {
err = await rawRes.json();
if (rawRes.status === 504) {
err = {
error: `Quick Notice 🔔
While we address a session delay issue (Issue #1289),
please use a Private/Incognito window for verification purposes.
Your patience is appreciated!`,
};
} else {
err = await rawRes.json();
}
}
throw new Error(err.error);
}
Expand Down

0 comments on commit 832804e

Please sign in to comment.