diff --git a/backend/src/error.rs b/backend/src/error.rs index 85ff211573..2d594a8a3e 100644 --- a/backend/src/error.rs +++ b/backend/src/error.rs @@ -62,6 +62,7 @@ impl IntoResponse for Error { Self::SqlErr(_) | Self::BadRequest(_) => StatusCode::BAD_REQUEST, _ => StatusCode::INTERNAL_SERVER_ERROR, }; + tracing::error!("status: {status}, error: {body:?}"); Response::builder().status(status).body(body).unwrap() } } diff --git a/backend/src/oauth2.rs b/backend/src/oauth2.rs index ce3079cd99..7d9ae0ee4b 100644 --- a/backend/src/oauth2.rs +++ b/backend/src/oauth2.rs @@ -650,7 +650,6 @@ pub struct EmailInfo { } async fn get_email(http_client: &Client, client_name: &str, token: &str) -> error::Result { - tracing::info!("{token}"); let email = match client_name { "github" => http_get_user_info::>( http_client,