Skip to content

Commit

Permalink
fix: malformed returned value for start component handler
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed <ahmedtadde@gmail.com>
  • Loading branch information
ahmedtadde committed Mar 20, 2024
1 parent 1db3b7f commit ef84063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wash-lib/src/cli/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,10 @@ pub async fn handle_start_component(cmd: StartComponentCommand) -> Result<Comman
.await;
}

anyhow!(
Err(anyhow!(
"The provided component {} is not a valid actor or provider component. Failed with errors: {} and {}",
cmd.component_ref,
provider.err().unwrap(),
actor.err().unwrap()
)
))
}

0 comments on commit ef84063

Please # to comment.