Introduce a new TryFutureExt::unwrap
method
This commit is contained in:
parent
431e11a033
commit
221bb54e48
8 changed files with 151 additions and 92 deletions
|
@ -224,7 +224,7 @@ impl Telemetry {
|
|||
.header("Content-Type", "application/json")
|
||||
.body(json_bytes.into())?;
|
||||
this.http_client.send(request).await?;
|
||||
Ok(())
|
||||
anyhow::Ok(())
|
||||
}
|
||||
.log_err(),
|
||||
)
|
||||
|
@ -320,7 +320,7 @@ impl Telemetry {
|
|||
.header("Content-Type", "application/json")
|
||||
.body(json_bytes.into())?;
|
||||
this.http_client.send(request).await?;
|
||||
Ok(())
|
||||
anyhow::Ok(())
|
||||
}
|
||||
.log_err(),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue