fix: show why http sign failed fetching in dbg
This commit is contained in:
parent
a80819685a
commit
6efd121080
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue