We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36149d commit ba56bc9Copy full SHA for ba56bc9
cvmassistants/quote-generator/src/main.rs
@@ -156,7 +156,7 @@ fn main() -> Result<(), QuoteGeneratorError> {
156
debug!("TDX report: {:?}", tdx_report.d);
157
let quote = create_quote(&report_data)?;
158
debug!("Quote: {:?}", quote);
159
- fs::write(QUOTE_FILE_NAME, quote).expect("Unable to write quote file");
+ fs::write(QUOTE_FILE_NAME, quote)?;
160
info!("Quote successfully written to {}", QUOTE_FILE_NAME);
161
162
Ok(())
0 commit comments