We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49171bf commit 559b9beCopy full SHA for 559b9be
store/getApiData.ts
@@ -50,5 +50,5 @@ export async function getOrFetchApiData(matchId: number, noRetry = false): Promi
50
// We currently disable refetching because the Steam GetMatchDetails API is broken
51
return { data: saved, error: null, pgroup: getPGroup(saved) };
52
}
53
- throw new Error('[APIDATA]: Could not get API data for match ' + matchId);
+ return { data: null, error: '[APIDATA]: Could not get API data for match ' + matchId, pgroup: null };
54
0 commit comments