Open cindoum opened 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
Yes it shouldnt 'ever' happen. but if it does, i think to have something to log it out is nice.
Will start it next.
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?