# Error Logger

Error Logger handler is used to log any general errors or warnings in the flow. The Logs menu in the project area displays all the logs from the synchronization.

<figure><img src="https://2655769465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjVABEcCgwItwY4IEAD%2Fuploads%2FbW0NjPxoxuryJNohWGHR%2FError%20Logger.png?alt=media&#x26;token=a95476f1-cc65-43b2-a598-bef47052400a" alt=""><figcaption></figcaption></figure>

### Options

* ***Message*** - Content to be logged. Shown on the logs page when the user clicks the "View detail logs" button. Message value character limit is 200.

{% hint style="warning" %}
Each Error Logger step supports a maximum of 200 characters and a total of 1000 characters per workflow. Longer messages will be truncated to the above character limit.
{% endhint %}

### Examples:

It can be a raw string

<pre><code><strong>Unable to make the get products API because of missing category ID.
</strong></code></pre>

or a field from [Data Hub](https://docs.dckapintegrator.com/project-manager/flow-builder#data-hub)

```python
{{1.response.error_message}}
```

or both

<pre><code><strong>Get products is failed. More details: {{1.response.error_message}}
</strong></code></pre>
