glpi-project / telemetry

Telemetry & references for your projects
https://glpi-project.github.io/telemetry/
MIT License
6 stars 2 forks source link

Logging/error handling issues? #5

Open trasher opened 7 years ago

trasher commented 7 years ago

I see several issues regarding error management.

On some ajax calls for example (such as countries loading); error details are present in the ajax call result, but nothing seems to be logged. Another one; trying to send data to the "/telemetry" route; I got a HTTP 400 without any details (I guess the send JSON is NOK here but I'd lke to know what is wrong with it) :-/

I guess there may something wrong with error handling and/or logging; or maybe I've missed something?