Skip to content

Commit a83eaa8

Browse files
authored
ref: Fix panic in get_pending_activations (#517)
This seems to have been unintentional, don't see a reason why we shouldn't propagate that error.
1 parent a82db4a commit a83eaa8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/store/inflight_activation.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,7 @@ impl InflightActivationStore {
613613
let namespaces = namespace.map(|ns| vec![ns.to_string()]);
614614
let result = self
615615
.get_pending_activations_from_namespaces(namespaces.as_deref(), Some(1))
616-
.await
617-
.unwrap();
616+
.await?;
618617
if result.is_empty() {
619618
return Ok(None);
620619
}

0 commit comments

Comments
 (0)