mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-21 05:31:34 +02:00
Log errors thrown by getThirdpartyProtocols
- so that it appears in rageshakes and test logs.
This commit is contained in:
parent
48889b51b0
commit
60703bdcfc
@ -73,6 +73,7 @@ module.exports = React.createClass({
|
|||||||
this.protocols = response;
|
this.protocols = response;
|
||||||
this.setState({protocolsLoading: false});
|
this.setState({protocolsLoading: false});
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
|
console.warn(`error loading thirdparty protocols: ${err}`);
|
||||||
this.setState({protocolsLoading: false});
|
this.setState({protocolsLoading: false});
|
||||||
if (MatrixClientPeg.get().isGuest()) {
|
if (MatrixClientPeg.get().isGuest()) {
|
||||||
// Guests currently aren't allowed to use this API, so
|
// Guests currently aren't allowed to use this API, so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user