I have a simple backend - Php RESTful API
When data is not available for specific parameters (for instance, a date and company_id) - we return an error (say 401) along with a message
In Backbone, I am then able to deal with the error / success of requests with:
data = {date:"2013-01-01",company_id:"500"}
model.fetch({data:data})
.success( ()=> @dealWithSuccess )
.error( ()=> @dealWithError )
This is fine but in the console I get notifications on network failures for the GET and OPTIONS requests
How can I have them not show up in the console? as I don't want clients to see this