mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 00:11:43 +02: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:
parent
ed72352636
commit
c17f7a2949
@ -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();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user