mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-22 06:57:14 -05:00
Ignore errors from useCurrentFest/ConfigureAnalyticsQuery
This commit is contained in:
parent
5014e32756
commit
0935402b9d
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -89,8 +89,13 @@ export default class SplatNet3Monitor extends EmbeddedLoop {
|
|||
}
|
||||
|
||||
const history = await this.splatnet!.getHistoryRecords();
|
||||
await this.splatnet!.getConfigureAnalytics();
|
||||
await this.splatnet!.getCurrentFest();
|
||||
|
||||
Promise.all([
|
||||
this.splatnet!.getCurrentFest(),
|
||||
this.splatnet!.getConfigureAnalytics(),
|
||||
]).catch(err => {
|
||||
debug('Error in useCurrentFest/ConfigureAnalyticsQuery', err);
|
||||
});
|
||||
|
||||
debug('Authenticated to SplatNet 3 %s - player %s#%s (title %s, first played %s)', this.data!.version,
|
||||
history.data.currentPlayer.name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user