studio
2024.10
true
Studio User Guide
Last updated Nov 4, 2024

ST-DBP-003 - Empty Catch Block

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 activity, in addition to the exception handling itself.

Refer to the Project Organization page to learn more about how to handle errors and use Try/Catch blocks.



  • Description
  • Recommendation

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.