We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7b606d commit eb516aaCopy full SHA for eb516aa
crates/validator/src/validators/synthetic_data/toploc.rs
@@ -2,7 +2,7 @@ use crate::metrics::MetricsContext;
2
3
use super::ValidationResult;
4
use anyhow::Error;
5
-use log::debug;
+use log::{debug, warn};
6
use log::{error, info};
7
use serde::{Deserialize, Serialize};
8
@@ -363,7 +363,10 @@ impl Toploc {
363
"reject" => ValidationResult::Reject,
364
"crashed" => ValidationResult::Crashed,
365
"pending" => ValidationResult::Pending,
366
- _ => ValidationResult::Unknown,
+ _ => {
367
+ warn!("Unknown status found for {}: {}", file_name, status);
368
+ ValidationResult::Unknown
369
+ }
370
};
371
Ok(validation_result)
372
}
0 commit comments