mirror of https://github.com/vector-im/riot-web
Log warning in case of failed group profile fetch
parent
31855f18f8
commit
833cd321f3
|
@ -58,6 +58,8 @@ export default React.createClass({
|
|||
).then((profile) => {
|
||||
if (this.unmounted) return;
|
||||
this.setState({profile});
|
||||
}).catch((err) => {
|
||||
console.warn('Could not fetch group profile for ' + this.props.tag, err);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue