Avoid logging exceptions when using SchemaManager explicitly

Description

For example if I use SchemaManager#validate, and the layout is incorrect, I’ll get this log:

But logging this is completely useless in this case, since SchemaManager#validate will throw an exception with this one set as its cause…

We should avoid logs in this specific case.

Note that such logs are still useful on bootstrap, so logging must not be removed altogether; it only needs to be avoided in some cases.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created October 20, 2023 at 12:38 PM
Updated December 3, 2024 at 9:09 AM
Resolved November 14, 2023 at 2:16 PM