log error and PDU for failed auth checks
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
3ffca25f6f
commit
3d6b499b88
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue