mirror of https://github.com/vector-im/riot-web
Fix console error log statement
parent
5471431ee5
commit
7ef55946da
|
@ -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!'),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue