mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
don't log twice, make event structured
This commit is contained in:
parent
e83a30af4b
commit
32e6b3b039
1 changed files with 3 additions and 3 deletions
|
|
@ -786,9 +786,9 @@ impl Service {
|
|||
None::<PduEvent>,
|
||||
|k, s| auth_events.get(&(k.clone(), s.to_owned())),
|
||||
)
|
||||
.map_err(|e| {
|
||||
error!("{:?}", e);
|
||||
Error::bad_database("Auth check failed.")
|
||||
.map_err(|error| {
|
||||
error!(%error, "Auth check failed");
|
||||
Error::BadDatabase("Auth check failed.")
|
||||
})?;
|
||||
|
||||
if !auth_check {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue