Ignore errors from useCurrentFest/ConfigureAnalyticsQuery

This commit is contained in:
Samuel Elliott
2022-10-31 16:01:02 +00:00
parent 5014e32756
commit 0935402b9d
2 changed files with 14 additions and 4 deletions

View File

@@ -71,8 +71,13 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
const {splatnet, data} = await getBulletToken(storage, token, argv.zncProxyUrl, true);
const friends = await splatnet.getFriends();
await splatnet.getCurrentFest();
await splatnet.getConfigureAnalytics();
Promise.all([
splatnet.getCurrentFest(),
splatnet.getConfigureAnalytics(),
]).catch(err => {
debug('Error in useCurrentFest/ConfigureAnalyticsQuery', err);
});
return new SplatNet3User(splatnet, data, friends);
}) : null;