improvement: more logging
This commit is contained in:
parent
9439f2c183
commit
6e36081573
7 changed files with 26 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
|||
use super::{State, DEVICE_ID_LENGTH, TOKEN_LENGTH};
|
||||
use crate::{utils, ConduitResult, Database, Error, Ruma};
|
||||
use log::info;
|
||||
use ruma::{
|
||||
api::client::{
|
||||
error::ErrorKind,
|
||||
|
@ -93,6 +94,8 @@ pub async fn login_route(
|
|||
body.initial_device_display_name.clone(),
|
||||
)?;
|
||||
|
||||
info!("{} logged in", user_id);
|
||||
|
||||
db.flush().await?;
|
||||
|
||||
Ok(login::Response {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue