mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
fix: mutual graph skipping friend due to fetch error
This commit is contained in:
@@ -305,8 +305,13 @@
|
||||
if (!friend?.id) {
|
||||
continue;
|
||||
}
|
||||
const mutuals = await fetchMutualFriends(friend.id);
|
||||
mutualMap.set(friend.id, { friend, mutuals });
|
||||
try {
|
||||
const mutuals = await fetchMutualFriends(friend.id);
|
||||
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;
|
||||
if (status.cancelRequested) {
|
||||
cancelled = true;
|
||||
|
||||
Reference in New Issue
Block a user