Don't warn about a missing analytics file.
This commit is contained in:
parent
c56324a943
commit
3d2a4c85f8
|
@ -99,8 +99,10 @@ function analyticsAutoLoad() {
|
|||
}
|
||||
}
|
||||
} catch(e) {
|
||||
console.error('Invalid JSON file for analytics, resetting.');
|
||||
console.error(e);
|
||||
if (e.code !== 'ENOENT') {
|
||||
console.error('Invalid JSON file for analytics, resetting.');
|
||||
console.error(e);
|
||||
}
|
||||
analytics = defaultAnalyticsObject;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user