Skip to content

Commit c87bfa1

Browse files
committed
Remove warning log
1 parent f08ada9 commit c87bfa1

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
- Minor removed warning level logging in cel crate
1011

1112
## [0.5.2] - 2025-09-12
1213

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cel"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ mod context;
22

33
use ::cel::objects::{Key, TryIntoValue};
44
use ::cel::{Context as CelContext, ExecutionError, Program, Value};
5-
use log::{debug, warn};
5+
use log::debug;
66
use pyo3::exceptions::{PyRuntimeError, PyTypeError, PyValueError};
77
use pyo3::prelude::*;
88
use pyo3::BoundObject;
@@ -515,8 +515,8 @@ fn evaluate(src: String, evaluation_context: Option<&Bound<'_, PyAny>>) -> PyRes
515515

516516
match result {
517517
Err(error) => {
518-
warn!("An error occurred during execution");
519-
warn!("Execution error: {error:?}");
518+
debug!("An error occurred during execution");
519+
debug!("Execution error: {error:?}");
520520
Err(map_execution_error_to_python(&error))
521521
}
522522

0 commit comments

Comments
 (0)