Log an error to get group profile data

This commit is contained in:
lukebarnard 2018-01-02 18:55:50 +00:00
parent 3947a72d1b
commit 479e88cff7

View file

@ -161,6 +161,7 @@ class FlairStore {
try { try {
profile = await this._groupProfilesPromise[groupId]; profile = await this._groupProfilesPromise[groupId];
} catch (e) { } catch (e) {
console.log('Failed to get group profile for ' + groupId, e);
// Don't retry, but allow a retry when the profile is next requested // Don't retry, but allow a retry when the profile is next requested
delete this._groupProfilesPromise[groupId]; delete this._groupProfilesPromise[groupId];
return; return;