From 01a8f6323d20a992d281e752e24033a07aaf74b3 Mon Sep 17 00:00:00 2001 From: strawberry Date: Thu, 21 Dec 2023 21:14:51 -0500 Subject: [PATCH] log next steps if a guest account registered and attempted to get admin this might be an unreachable state with the next commit, but let's be extra sure here just in case a guest still managed to register before a real admin was created. Signed-off-by: strawberry --- src/api/client_server/account.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/client_server/account.rs b/src/api/client_server/account.rs index c6221eea..17410567 100644 --- a/src/api/client_server/account.rs +++ b/src/api/client_server/account.rs @@ -13,7 +13,7 @@ use ruma::{ events::{room::message::RoomMessageEventContent, GlobalAccountDataEventType}, push, UserId, }; -use tracing::{info, warn}; +use tracing::{error, info, warn}; use register::RegistrationKind; @@ -270,6 +270,9 @@ pub async fn register_route(body: Ruma) -> Result