DEV Community

Cover image for how do i stop my app from braking !!!
Orcel Leens
Orcel Leens

Posted on

how do i stop my app from braking !!!

It just wanted to talk about a situation that's really piecing me off, which is that the external services/api I use sometime change their API policies, and I need to change my code to adapt to it. Or my app is gonna break on production, and guess what it often does because I don't get to notice the message until my users do, and by that time I've lost the trust of most of my users, so I would be really open to see if anyone has a solution to this situation. I'm referring to things like REST APIs or services policie changes like polar,stripe, superbase and so much more that can change to your way of working and that need you to adapt your code consequently.

Top comments (2)

Collapse
 
darkssel profile image
Darkssel •

This is exactly why monitoring external dependencies is so important. I’d rather get an alert when an API starts returning unexpected responses than wait for a user to report that something is broken.

Monitoring the critical endpoints and having good alerts can save a lot of headaches.

Collapse
 
orcel_leens_4177485a91d91 profile image
Orcel Leens •

is there a service that handles that and can allert me.šŸ¤”