Skip to content
Snippets Groups Projects
Commit 6e46f569 authored by 🥺's avatar 🥺 :transgender_flag:
Browse files

error log thing


Signed-off-by: default avatargirlbossceo <june@girlboss.ceo>
parent a3d219e4
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
collections::{hash_map, BTreeMap, HashMap, HashSet},
time::{Duration, Instant},
};
use tracing::debug;
use tracing::{debug, error};
/// # `POST /_matrix/client/r0/keys/upload`
///
......@@ -400,7 +400,10 @@ pub(crate) async fn get_keys_helper<F: Fn(&UserId) -> bool>(
),
)
.await
.map_err(|e| Error::BadServerResponse("Query took too long")),
.map_err(|e| {
error!("get_keys_helper query took too long: {}", e);
Error::BadServerResponse("get_keys_helper query took too long")
}),
)
})
.collect();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment