Skip to content

Commit

Permalink
Skip arguments in the logs (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx authored Mar 7, 2024
1 parent 0d9391a commit ee618bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub async fn main(Extension(config): Extension<SharedConfig>) -> Html<String> {
Html(render_page(public_node_url, captcha_key))
}

#[tracing::instrument(skip(wallet))]
#[tracing::instrument(skip_all)]
pub async fn health(Extension(wallet): Extension<SharedWallet>) -> Response {
// ping client for health
let client = wallet
Expand Down Expand Up @@ -202,7 +202,7 @@ async fn submit_tx_with_timeout(
Ok(())
}

#[tracing::instrument(skip(wallet, config))]
#[tracing::instrument(skip_all)]
pub async fn dispense_tokens(
Json(input): Json<DispenseInput>,
Extension(wallet): Extension<SharedWallet>,
Expand Down Expand Up @@ -352,7 +352,7 @@ pub async fn dispense_tokens(
})
}

#[tracing::instrument(skip(config))]
#[tracing::instrument(skip_all)]
pub async fn dispense_info(
Extension(config): Extension<SharedConfig>,
) -> Result<DispenseInfoResponse, DispenseError> {
Expand Down

0 comments on commit ee618bc

Please sign in to comment.