ACR Rules

⌘K
  1. Home
  2. Docs
  3. ACR Rules
  4. Maintainability (28)
  5. Custom error handling should be logged

Custom error handling should be logged

When custom error handling is enabled a message should be logged so that it can be properly investigated. The rule looks for log message action in the event handler flow (including sub-microflows).

It is best to log the error as soon as possible, preferably in the first few action. This number of actions is configurable.

Noncompliant example:

Compliant example:

Note: The message logged does not have to include the actual error message.