Log warning in case of failed group profile fetch
This commit is contained in:
parent
31855f18f8
commit
833cd321f3
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ export default React.createClass({
|
||||||
).then((profile) => {
|
).then((profile) => {
|
||||||
if (this.unmounted) return;
|
if (this.unmounted) return;
|
||||||
this.setState({profile});
|
this.setState({profile});
|
||||||
|
}).catch((err) => {
|
||||||
|
console.warn('Could not fetch group profile for ' + this.props.tag, err);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue