You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Trim the logging for URL previews
It should be sufficient to have the error stack and general log message for URL preview failure.
This commit is contained in:
@@ -52,7 +52,7 @@ module.exports = React.createClass({
|
|||||||
this.props.onHeightChanged,
|
this.props.onHeightChanged,
|
||||||
);
|
);
|
||||||
}, (error)=>{
|
}, (error)=>{
|
||||||
console.error("Failed to get preview for " + this.props.link + " " + error);
|
console.error("Failed to get URL preview: " + error);
|
||||||
}).done();
|
}).done();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user