# When something breaks

Apps sometimes misbehave — a page errors, a button does nothing, data doesn't show up. The good
news: your AI can look under the hood, see what went wrong, and fix it. You mostly need to
describe the symptom clearly and let it investigate.

## The first move: ask your AI to look

onvibe keeps **logs** (a record of what the app did) and captures **errors** automatically. Your
AI can read both. When something's off, say:

> *"The app is showing an error — check the logs and exceptions and fix it."*

That single request usually gets it diagnosing and repairing on its own.

## Describing the problem well

The clearer the symptom, the faster the fix:

- **Say what you did and what happened.** *"I filled the form, clicked submit, and got a blank
  page."*
- **Quote any error text** you can see, even partially.
- **Say where it happens.** *"Only on the results page"* / *"only on my phone"* / *"only after I
  add a second item."*

## Common situations

| Symptom | What to say to your AI |
|---|---|
| A page shows an error message | *"Check the logs and fix this error."* |
| The page loads but is blank or broken | *"The page renders blank — look at the exceptions and fix it."* |
| Submitting a form does nothing | *"Submitting the form doesn't save anything — investigate and fix."* |
| It worked before, now it doesn't | *"It broke after the last change — check what happened, and roll back if needed."* |
| Data looks wrong or missing | *"The list is empty even though I added items — find out why."* |

## If a recent change caused it

If things broke right after a change you asked for, you can simply go back — see
[Versions & undo](/docs/versions-and-undo):

> *"Roll back to the last working version."*

## When to start fresh

If your AI is stuck in a loop or the conversation has gotten tangled, start a new chat, tell it
which project you mean, and describe the current symptom. A clean start often helps it re-orient.
