Skip to content

Commit

Permalink
runtime/src/dispatcher: Propagate panics during status/policy update
Browse files Browse the repository at this point in the history
  • Loading branch information
peternose committed Sep 12, 2024
1 parent 30d038a commit 74700ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changelog/5851.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
runtime/src/dispatcher: Propagate panics during status/policy update
6 changes: 4 additions & 2 deletions runtime/src/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,8 @@ impl Dispatcher {

Ok(())
})
.await??;
.await
.unwrap()?; // Propagate panics during key manager status update.

debug!(self.logger, "KM status update request complete");

Expand Down Expand Up @@ -1018,7 +1019,8 @@ impl Dispatcher {

Ok(())
})
.await??;
.await
.unwrap()?; // Propagate panics during key manager quote policy update.

debug!(self.logger, "KM quote policy update request complete");

Expand Down

0 comments on commit 74700ba

Please sign in to comment.