Fix 'type error: failed to fetch' in congrats screen

The previously-added catch was not working due to the implicit error
handling of the proto methods.

Closes #2895
This commit is contained in:
Damien Elmes 2024-12-14 22:50:40 +11:00
parent b726e28229
commit d900506003

View file

@ -34,7 +34,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
if (refreshPeriodically) {
setInterval(async () => {
try {
info = await congratsInfo({});
info = await congratsInfo({}, { alertOnError: false });
} catch {
console.log("congrats fetch failed");
}