console.log -> console.error
This commit is contained in:
@@ -389,7 +389,7 @@ var CommentBox = React.createClass({
|
||||
this.setState({data: data});
|
||||
}.bind(this),
|
||||
error: function(xhr, status, err) {
|
||||
console.log("comments.json", status, err.toString());
|
||||
console.error("comments.json", status, err.toString());
|
||||
}.bind(this)
|
||||
});
|
||||
return {data: []};
|
||||
|
||||
Reference in New Issue
Block a user