From d3588310d9a0755e0d161a62c36a8b99b2d360a5 Mon Sep 17 00:00:00 2001 From: Peter Nose Date: Thu, 12 Sep 2024 15:48:27 +0200 Subject: [PATCH] runtime/src/dispatcher: Propagate panics during status/policy update --- .changelog/5851.bugfix.md | 1 + runtime/src/dispatcher.rs | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changelog/5851.bugfix.md diff --git a/.changelog/5851.bugfix.md b/.changelog/5851.bugfix.md new file mode 100644 index 00000000000..4123429eb8b --- /dev/null +++ b/.changelog/5851.bugfix.md @@ -0,0 +1 @@ +runtime/src/dispatcher: Propagate panics during status/policy update diff --git a/runtime/src/dispatcher.rs b/runtime/src/dispatcher.rs index c8f5637b999..09088f545aa 100644 --- a/runtime/src/dispatcher.rs +++ b/runtime/src/dispatcher.rs @@ -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"); @@ -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");