Fix console error log statement

This commit is contained in:
Luke Barnard 2017-09-20 17:04:05 +01:00
parent 5471431ee5
commit 7ef55946da

View file

@ -204,7 +204,7 @@ module.exports = React.createClass({
}); });
this._processResults(results, query); this._processResults(results, query);
}).catch((err) => { }).catch((err) => {
console.error('Error whilst searching user directory: ', err); console.error('Error whilst searching group users: ', err);
this.setState({ this.setState({
searchError: err.errcode ? err.message : _t('Something went wrong!'), searchError: err.errcode ? err.message : _t('Something went wrong!'),
}); });