mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
fix: mutual graph skipping friend due to fetch error
This commit is contained in:
@@ -305,8 +305,13 @@
|
|||||||
if (!friend?.id) {
|
if (!friend?.id) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
const mutuals = await fetchMutualFriends(friend.id);
|
const mutuals = await fetchMutualFriends(friend.id);
|
||||||
mutualMap.set(friend.id, { friend, mutuals });
|
mutualMap.set(friend.id, { friend, mutuals });
|
||||||
|
} catch (err) {
|
||||||
|
console.warn('[MutualGraph] Skipping friend due to fetch error', friend.id, err);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
fetchState.processedFriends = index + 1;
|
fetchState.processedFriends = index + 1;
|
||||||
if (status.cancelRequested) {
|
if (status.cancelRequested) {
|
||||||
cancelled = true;
|
cancelled = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user