Skip to content

Commit

Permalink
fancy inspect error
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Smolarek <[email protected]>
  • Loading branch information
meowjesty and Razz4780 authored Feb 21, 2024
1 parent dace5f3 commit 53e3de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirrord/cli/src/operator/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async fn operator_session_prepare() -> Result<(

let session_api = session_api(None)
.await
.inspect_err(|fail| error!("Failed to even get sessio_api {fail:?}!"))?;
.inspect_err(|fail| error!(error = ?fail, "Failed to create session API"))?;

let sub_progress = progress.subtask("preparing...");

Expand Down

0 comments on commit 53e3de7

Please sign in to comment.