Skip to content

Commit 0c8c57a

Browse files
committed
show rule that fails to convert
1 parent 5d718a7 commit 0c8c57a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bins/src/bin/datadog-static-analyzer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fn convert_rules_to_rules_internal(
122122

123123
let res = r
124124
.to_rule_internal()
125-
.context("cannot convert to rule internal");
125+
.context(format!("cannot convert {} to rule internal", r.name));
126126

127127
if configuration.show_performance_statistics {
128128
println!(

0 commit comments

Comments
 (0)