mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-24 16:01:42 +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,
|
||||
);
|
||||
}, (error)=>{
|
||||
console.error("Failed to get preview for " + this.props.link + " " + error);
|
||||
console.error("Failed to get URL preview: " + error);
|
||||
}).done();
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user