diff --git a/boulder/src/draft/monitoring.rs b/boulder/src/draft/monitoring.rs index 781301d4..c9880d39 100644 --- a/boulder/src/draft/monitoring.rs +++ b/boulder/src/draft/monitoring.rs @@ -57,6 +57,10 @@ impl<'a> Monitoring<'a> { } pub fn run(&self) -> Result { + if self.name.is_empty() { + return self.format_monitoring(None, vec![], None); + } + let client = reqwest::blocking::Client::new(); let id = self.find_monitoring_id(self.name, &client)?;