Skip to content

Commit e648951

Browse files
yujclaude
andcommitted
fix: correct log level and remove redundant warning prefixes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ce99312 commit e648951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def _cleanup_batch_data(self) -> None:
437437
self.batch_sequence = 0
438438

439439
except Exception as e:
440-
logger.error(f"Warning: Error during cleanup: {e}")
440+
logger.warning(f"Error during cleanup: {e}")
441441

442442
def has_events(self) -> bool:
443443
"""Check if there are events in the buffer"""

lib/crewai/src/crewai/experimental/evaluation/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def assert_experiment_no_regression(comparison_result: dict[str, list[str]]) ->
4747
missing_tests = comparison_result.get("missing_tests", [])
4848
if missing_tests:
4949
warnings.warn(
50-
f"Warning: {len(missing_tests)} tests from the baseline are missing in the current run: {missing_tests}",
50+
f"{len(missing_tests)} tests from the baseline are missing in the current run: {missing_tests}",
5151
UserWarning,
5252
stacklevel=2,
5353
)

0 commit comments

Comments
 (0)