diff --git a/ch_tools/common/config.py b/ch_tools/common/config.py index 727ec55c..985308f3 100644 --- a/ch_tools/common/config.py +++ b/ch_tools/common/config.py @@ -85,8 +85,8 @@ "replacement": " ", }, { - "pattern": r"(Code:\s\d+\.\sDB::Exception:\s).*(\s\([A-Z_]*\)\s\(version\s.*\s\(official build\)\)\s).*", - "replacement": r"\1...\2...", + "pattern": r"(Code:\s\d+\.\sDB::Exception:\s).*(\s\([A-Z_]*\)\s\(version\s.*\s\(official build\)\)).*", + "replacement": r"\1...\2", }, ], }, diff --git a/tests/features/monrun.feature b/tests/features/monrun.feature index 2c357256..cff71b89 100644 --- a/tests/features/monrun.feature +++ b/tests/features/monrun.feature @@ -522,5 +522,5 @@ Feature: ch-monitoring tool """ Then we get response """ - 2;Code: 27. DB::Exception: ... (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.8.5.115 (official build)) ... + 2;Code: 27. DB::Exception: ... (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.8.5.115 (official build)) """