mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
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) => {
|
||||
if (this.unmounted) return;
|
||||
this.setState({profile});
|
||||
}).catch((err) => {
|
||||
console.warn('Could not fetch group profile for ' + this.props.tag, err);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue