chore: remove recover as nothing can panic in the lockdown function

This commit is contained in:
Stavros
2026-06-16 19:29:21 +03:00
parent ef56748c2d
commit fb29aa26ea
-6
View File
@@ -639,12 +639,6 @@ func (auth *AuthService) GetOAuthPendingSession(sessionId string) (*OAuthPending
}
func (auth *AuthService) lockdownMode() {
defer func() {
if r := recover(); r != nil {
auth.log.App.Error().Interface("panic", r).Msg("Recovered from panic in lockdownMode")
}
}()
auth.lockdown.mu.Lock()
if auth.lockdown.active {