Skip to content

Commit 60703bd

Browse files
committed
Log errors thrown by getThirdpartyProtocols
- so that it appears in rageshakes and test logs.
1 parent 48889b5 commit 60703bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/components/structures/RoomDirectory.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ module.exports = React.createClass({
7373
this.protocols = response;
7474
this.setState({protocolsLoading: false});
7575
}, (err) => {
76+
console.warn(`error loading thirdparty protocols: ${err}`);
7677
this.setState({protocolsLoading: false});
7778
if (MatrixClientPeg.get().isGuest()) {
7879
// Guests currently aren't allowed to use this API, so

0 commit comments

Comments
 (0)