Skip to content

Commit

Permalink
Merge pull request #5851 from oasisprotocol/peternose/bugfix/fix-abor…
Browse files Browse the repository at this point in the history
…t-on-panic

runtime/src/dispatcher: Propagate panics during status/policy update
  • Loading branch information
peternose committed Sep 12, 2024
2 parents 9d7a3bb + d358831 commit c3e7d2d
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 c3e7d2d

Please sign in to comment.