Drop unnecessary tracing::warn

We already emit an error
This commit is contained in:
Lukas Wirth 2025-01-07 14:40:00 +01:00
parent 86d35a55a6
commit bff9bd0286

View file

@ -462,11 +462,6 @@ fn expand_repeat(
counter += 1;
if counter == limit {
tracing::warn!(
"expand_tt in repeat pattern exceed limit => {:#?}\n{:#?}",
template,
ctx
);
err = Some(ExpandError::new(ctx.call_site, ExpandErrorKind::LimitExceeded));
break;
}