console.log -> console.error

This commit is contained in:
Ivan Kozik
2013-12-29 06:12:45 +00:00
committed by Vjeux
parent 838589c37a
commit 880951f08c

View File

@@ -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: []};