Fix wrong logic for silent fail
Some mastodon instances are getting swamped
This commit is contained in:
parent
605e6ac588
commit
e7cff25337
|
@ -83,11 +83,12 @@ function StatusPage({ id }) {
|
|||
states.statuses.set(id, heroStatus);
|
||||
} catch (e) {
|
||||
// Silent fail if status is cached
|
||||
console.error(e);
|
||||
if (!hasStatus) {
|
||||
setUIState('error');
|
||||
alert('Error fetching status');
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue