Is sending JavaScript errors through an Absinthe mutation a good idea?

When an error occurs in our frontend application, we would like to be notified, in order to fix the error.

How do you achieve this? I was thinking that I should probably create an Absinthe mutation in order to send frontend errors to the server.

Are there any other ways?

I’d typically use a hosted service for error reporting, such as sentry, appsignal or rollbar

Is there some particular action your app needs to take in response to front end errors?

3 Likes

No. I just need to be notified in order to fix them. What actions might you be thinking about?

Just checking you didn’t have some requirement that would prevent an external service being used. :slightly_smiling_face: