log error and PDU for failed auth checks

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-17 19:57:21 -05:00 committed by June
parent 3ffca25f6f
commit 3d6b499b88

View file

@ -802,7 +802,7 @@ impl Service {
|k, s| auth_events.get(&(k.clone(), s.to_owned())), |k, s| auth_events.get(&(k.clone(), s.to_owned())),
) )
.map_err(|e| { .map_err(|e| {
error!("{:?}", e); error!("Auth check for PDU {:?} failed: {:?}", &pdu, e);
Error::bad_database("Auth check failed.") Error::bad_database("Auth check failed.")
})?; })?;