# Handling errors in GitProtect

## Determining whether a task has failed

**GitProtect** notifies you if a backup task fails. By default, e-mail notifications are enabled, but you can also configure notifications via **Slack** or any webhook. Notifications can be set up in the **Settings** tab.

When you open the relevant tab **GitProtect** will indicate if any tasks have ended with errors or warnings.

In the following example, the task for the **DebianDatabase** device ended with an error — it's visible instantly upon opening the relevant tab.

Additionally, you can view statistics for the entire backup plan, not just a single device. To do this, open the **Plans** tab and click the **statistics** <img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-c1cd39b6426e9d3b8dbfcc79989241f8b6d07225%2Fimage%20(1018).png?alt=media" alt="" data-size="original"> button on the right side of the window. In the **Latest tasks** section, you can see the most recent task executions.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FF4oLEVIb1L39Uqd3FOHC%2Fer99.png?alt=media&#x26;token=96d67d8a-e293-4fcd-a533-05f65a5d6379" alt=""><figcaption><p><em><strong>Latest tasks</strong> section in the backup plan statistics panel.</em></p></figcaption></figure>

***

## Handling errors via Tasks tab <a href="#tasks_tab" id="tasks_tab"></a>

In general, the easiest way to handle an error in **GitProtect** is via **Tasks** tab:

{% stepper %}
{% step %}
Open the **Tasks** tab, then go to **latest tasks**.
{% endstep %}

{% step %}
Locate the task of interest (one that ended with failures or warnings) and click the **expand** <img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-b6bacd5e51b8c0ad5b79ce4e3da80ca5cb400ceb%2Fimage%20(1020).png?alt=media" alt="" data-size="line"> button on the right side of the window.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-181662035dbf21b7f51c7018262cb3cbe2b3b013%2Fimage%20(1019).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click the info <img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-c1cd39b6426e9d3b8dbfcc79989241f8b6d07225%2Fimage%20(1018).png?alt=media" alt="" data-size="original"> icon to open the **device details** for more information.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-af12da54362b97cbb6ee25593bbaf6df873d3c40%2Fimage%20(1021).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
All errors and warnings can be found in the **STATUS DETAILS** section. To view more information, expand the tab — in this specific case, the task failed because the device has no connectivity with the **Management Service**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-a7fae3d741ab6f8beffa94b9966890208fda10b1%2Fimage%20(1022).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

## Handling errors via Logs tab <a href="#logs_tab" id="logs_tab"></a>

All errors and warnings are also displayed in the **Logs** tab — here you can view both statistics and logs for all devices connected to your **Management Service**.

{% hint style="info" %}
The **Logs** tab provides more information than just backup plan errors and warnings. To view the logs you are interested in, use the **search** feature located in the top-right corner of the window.
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FKOmYnOxPpLUGT0Wbwpb3%2Fer7.png?alt=media&#x26;token=54628df4-c8d2-4839-9014-a260705cb8ea" alt=""><figcaption></figcaption></figure>

***

## Useful links and items

{% content-ref url="../management/tasks" %}
[tasks](https://helpcenter.gitprotect.io/management/tasks)
{% endcontent-ref %}

{% content-ref url="../management/log-files" %}
[log-files](https://helpcenter.gitprotect.io/management/log-files)
{% endcontent-ref %}
