From 3342754a7243a630ab364d4334acf846be5ed1a9 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 28 Nov 2017 10:11:25 +0000 Subject: [PATCH] Catch and log errors from getting group profile --- src/components/views/groups/GroupTile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/groups/GroupTile.js b/src/components/views/groups/GroupTile.js index 35c8dde2ab..7ea67de98e 100644 --- a/src/components/views/groups/GroupTile.js +++ b/src/components/views/groups/GroupTile.js @@ -52,6 +52,8 @@ const GroupTile = React.createClass({ componentWillMount: function() { FlairStore.getGroupProfileCached(this.context.matrixClient, this.props.groupId).then((profile) => { this.setState({profile}); + }).catch((err) => { + console.error('Error whilst getting cached profile for GroupTile', err); }); },