fix build

This commit is contained in:
Aiden McClelland
2021-09-14 11:44:23 -06:00
committed by Aiden McClelland
parent 91d08ca650
commit df50197c5f
3 changed files with 8 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ async fn inner_main(cfg_path: Option<&str>) -> Result<(), Error> {
log::error!("{}", e.source);
log::debug!("{}", e.source);
embassy::sound::BEETHOVEN.play().await?;
let ctx = RecoveryContext::init(cfg_path).await?;
let ctx = RecoveryContext::init(cfg_path, e).await?;
rpc_server!({
command: embassy::recovery_api,
context: ctx.clone(),