Back to Coding

How Do You Know if Your App Is Broken?

How Do You Know if Your App Is Broken?
AI Tutorials Team 20 May 2026

An application that stops working does not announce it. Nobody is watching, errors go into a log nobody reads, and the first sign is somebody mentioning that it has not worked since Tuesday. That is entirely avoidable with about an hour of setup.

What are the three things worth having?

  • Error tracking. Something that records exceptions and tells you.
  • An uptime check. Something requesting a page every few minutes.
  • Somewhere to read logs. That survives a restart.

All three have free tiers adequate for a small application, and together they cover the great majority of what goes wrong.

Why is error tracking the most valuable?

Because it tells you about failures that affect one user without taking the application down. Those are invisible to an uptime check, they are the most common kind of problem, and the person affected usually leaves rather than reporting it.

Getting an email when an exception occurs is the single highest-value thing on this list.

What should the uptime check request?

Something that actually exercises the application rather than a static page. A health endpoint that checks the database connection and returns a status tells you the application is working; a page served from a cache tells you the server responded.

What are the silent failures?

Anything that fails without an exception: a scheduled job that stopped running, emails not being delivered, a background task quietly erroring, or an integration returning nothing. None of these produce an alert unless something is specifically watching for their absence.

Checking that something happened, rather than that nothing failed, is a different kind of monitoring and worth having for anything scheduled.

What should you not do?

Alert on everything. A system that emails you constantly gets filtered within a fortnight, at which point it is worse than nothing because it produces confidence without attention.

Alert on: the application being unreachable, an unhandled exception, and a scheduled job not completing. Nothing else, at first.

What about logs?

Worth having somewhere durable, since platform logs are frequently short-lived and lost on restart. What matters is that a log entry identifies which user and which request it relates to, otherwise it is unusable during an incident.

Checking what is in them is also worth doing, since logs are where personal data accumulates unintentionally.

Including a request identifier in every log line and error report is worth adding early, since it lets you follow one person's journey through the logs rather than reading interleaved entries from everybody.

What does generated code do here?

Very little unless asked. Error handling that catches and logs is common; error handling that reports to something you will actually see is not, and the two look similar in the code.

When should this be set up?

Before the first real user, which is about an hour of work. Setting it up afterwards means the first incident is also the incident where you had no visibility, which is the worst possible time to be configuring monitoring.

How do you tell a real problem from noise?

By whether it affects a person. Error tracking on a public application collects a certain amount of background: automated scanners probing for vulnerabilities, malformed requests, and browser extensions producing failures that have nothing to do with your code.

The useful filter is whether a signed-in user was affected and whether they could complete what they were doing. Grouping errors by that, rather than by frequency, points attention at the ones that matter, since the most frequent error in a small application is usually somebody scanning for a login page that does not exist.

What is the minimum?

Error tracking with email alerts and an uptime check. Two accounts, both free at this scale, and they convert finding out from somebody else into finding out first.