# ST-DBP-003 - Empty Catch Block

> **Rule ID**: `ST-DBP-003`

**Rule ID**: `ST-DBP-003`

**Scope**: Activity

## Description

The rule checks whether exceptions are caught with a purpose, and not only to prevent error messages.

## Recommendation

It is recommended to insert log messages in the Catch block of a [Try Catch](https://docs.uipath.com/activities/docs/try-catch) activity, in addition to the exception handling itself.

Refer to the [Project Organization](https://docs.uipath.com/studio/standalone/2023.10/user-guide/project-organization#error-handling) page to learn more about how to handle errors and use Try/Catch blocks.

![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/standalone-docs-image-170604-8002c156.webp)
