# Error reporting & exception handling

## Introduction

Once you start syncing data with process flows, we provide the tools to make sure that you're in the driver's seat when it comes to knowing that everything is running as expected and - in the event of any issues - understanding when/where a problem occurs so you can make informed decisions to resolve it.&#x20;

Your toolkit includes:

* [Real-time logs](https://doc.wearepatchworks.com/product-documentation/process-flows/error-reporting-and-exception-handling/real-time-run-logs) for immediate feedback as a process flow runs. Follow the progress of every step in a process flow with success/failure details, payloads, and request/response information for every shape. &#x20;
* [Retrospective run logs](https://doc.wearepatchworks.com/product-documentation/process-flows/error-reporting-and-exception-handling/run-logs-and-queue) are retained for one month so you can access success/failure details, payloads, request and response information retrospectively.  &#x20;
* [Queue data](https://doc.wearepatchworks.com/product-documentation/process-flows/run-logs-and-queue#working-with-your-run-queue) can be viewed so you can see any process flow runs that are pending.
* [Email alerts](https://doc.wearepatchworks.com/product-documentation/process-flows/error-reporting-and-exception-handling/email-notifications-for-failed-process-flow-runs) for failed runs so you're not constantly checking logs for assurance that your process flows are running as expected.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/process-flows/error-reporting-and-exception-handling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
