---
title: Production errors
description: Sentry tells Clara about each new error in your app. When the code is at fault, she opens a pull request that fixes the cause.
---

Sentry tells Clara about each new error in your app. She reads the error, its stack, and the code around each frame, then checks the commits since that release in case one already fixed it.

| The cause is | Clara |
| --- | --- |
| The code | Fixes the cause rather than catching the error, with a failing test where she can, runs your checks, and opens a pull request |
| Outside the code, such as a service that was down | Changes nothing, and notes on the Sentry issue what happened |

Either way she leaves a note on the Sentry issue saying what failed and why, with a link to the fix when there is one.

## Linked to the issue

Her pull request and its commit say `Fixes WEB-3J`, so Sentry links the two.

Once you merge it, she resolves the Sentry issue in the merge commit right away, so it doesn't sit open until the next release ships. Sentry still counts it as a regression only if it comes back in a release that has the fix. An issue someone already resolved or archived is left as it is.

## Good to know

- She reviews her own fix before she opens its pull request.
- She keeps at most three Sentry fixes open on a repository, so an outage that raises a dozen errors can't open a dozen pull requests. Errors are handled one at a time.
- She skips an issue that's already resolved or archived, and one she already has a fix open for.
- Errors only. Uptime failures and user feedback aren't picked up.
- It works on private repositories.
- A Sentry project is connected to its repository when Clara is set up for you.
