Kong / analytics-agent-jquery

jQuery agent for Galileo Analytics
https://www.apianalytics.com
MIT License
8 stars 4 forks source link

better debugging messages #1

Open ahmadnassri opened 8 years ago

ahmadnassri commented 8 years ago

feedback from user:

I'm getting this error / response from https://socket.analytics.mashape.com/1.0.0/single [{"field":"data.har.log.entries.0.request.url","message":"must be uri format"}]
nijikokun commented 8 years ago

Not sure how this is an issue with the agent, looks more like an issue with the API, such as what is the URI format?

ahmadnassri commented 8 years ago

Not sure how this is an issue with the agent, looks more like an issue with the API, such as what is the URI format?

the invalid URI format is the problem, but in order for us to debug remotely from users, be good to have debugging flags, or info in the console?

nijikokun commented 8 years ago

Hmm, yeah I couldn't decipher that from your initial comment.

If it's something like a console error, that's easy enough. Though the API should return something a little better.

ahmadnassri commented 8 years ago

yeah the validator currently just reports the invalid field(s) but not the values