fix: show why http sign failed fetching in dbg

This commit is contained in:
əlemi 2024-06-15 02:13:52 +02:00
parent a80819685a
commit 6efd121080
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -130,7 +130,7 @@ where
match ctx.fetch_user(&user_id, ctx.db()).await { match ctx.fetch_user(&user_id, ctx.db()).await {
Err(PullError::Database(x)) => return Err(PullError::Database(x).into()), Err(PullError::Database(x)) => return Err(PullError::Database(x).into()),
Err(_) => tracing::debug!("could not fetch {user_id} to verify signature"), Err(e) => tracing::debug!("could not fetch {user_id} to verify signature: {e}"),
Ok(user) => { Ok(user) => {
let valid = http_signature let valid = http_signature
.build_from_parts(parts) .build_from_parts(parts)