mabouchalkha / foodinspectors

Frontend for food inspectors
https://foodinspector.herokuapp.com
1 stars 0 forks source link

Client side errors logging #34

Open cindoum opened 9 years ago

cindoum commented 9 years ago

We were using airbrake javascript (not fully implemented) to notify airbrake when an error appear. As we are going to have to completly seperate layer for the server and the client, using a server tech on the client doesnt make sense.

I propose that our api has an endpoint /error and the client can send whatever error/exception there and it is going to be logge d on whatever error handling system we are going to use.

@mabouchalkha what do you think about it?

mabouchalkha commented 9 years ago

i think it's a good idea. I don't think it will have a performance problem to call service every time because it's rare when will normally an error

cindoum commented 9 years ago

Yes it shouldnt 'ever' happen. but if it does, i think to have something to log it out is nice.

Will start it next.