What to Do the Moment Your App Breaks (Don't Panic)
Let me save you a bad afternoon: your app will break. Something you were absolutely sure worked will suddenly not, usually at the worst possible moment. That's not you failing. That's just building. What separates people who make it from people who quit isn't avoiding breakage; it's what they do in the first five minutes after it happens.
Here's my exact routine.
The calm-down routine
- Don't rush. Seriously, that's step one. The panicked instinct is to start changing things fast, hoping something helps. Panic-fixing is how one broken thing becomes four broken things, and now you can't even remember what the original problem was. Stand up. Breathe. The app being broken for ten more minutes costs you nothing.
- Undo back to your last saved version. Before playing detective, get back to solid ground. Whatever "undo" means in your setup, get the app back to the last state you know worked. This does two things: it un-breaks the app, and it proves the problem lives in whatever changed since. You've already shrunk the mystery.
- Paste the full error to the AI. The whole thing. Not "it's broken," not a screenshot of half the message, not your summary of what you think it says. The complete error, word for word. Error messages look like gibberish to you and me, but to the AI they're a map, and the line you'd have trimmed off is usually the one that matters.
- Fix one thing. Whatever the AI suggests, apply one fix, then check the app. Not three fixes at once "to be safe." One. If it works, done. If not, you've cleanly ruled something out and you try the next. Calm beats clever, every single time.
The part nobody tells beginners
Breaking things is how you learn where the edges are. Every break teaches you something no tutorial can: what your app actually depends on, which changes are risky, where the fragile spots live. People who never break anything aren't better builders. They're people who stopped touching their app. Each time you go break → calm routine → fixed, the fear shrinks. Eventually a breakage stops feeling like a crisis and starts feeling like a Tuesday.
The real enemy was never the error. It's the panic, because panic makes you rush, and rushing makes messes that are genuinely hard to escape.
Copy this prompt
Save this one for the bad afternoon. Fill in the brackets when it happens.
My app was working and now it is not. The last thing I changed was [what you changed].
Here is the complete error message, unedited: [paste the whole error].
Before suggesting anything, explain in plain words what this error means. Then give me ONE fix to try, the smallest one first.
Wait for me to test it and report back before suggesting anything else. Do not change more than one thing at a time.
Steal this
Today, before anything breaks, prepare your future calm: find and test your "undo": make one tiny change to your project, then practice getting back to the version before it. Do it once while nothing is on fire. When the real breakage comes (it will), you'll already know the way back to solid ground, and that knowledge alone kills half the panic.
This is Day 20 of growing my app to 1,000 users. Follow along. I'm building Settl, an AI expense-splitting app, completely in public.