[fix] Small bandit changes (#3241)

This commit is contained in:
Vlad Stan
2025-07-15 11:14:20 +02:00
committed by dni ⚡
parent 0529ee2835
commit e0749e186e
16 changed files with 125 additions and 34 deletions
+2 -2
View File
@@ -557,8 +557,8 @@ def _find_auth_provider_class(provider: str) -> Callable:
provider_class = getattr(provider_module, f"{provider.title()}SSO")
if provider_class:
return provider_class
except Exception:
pass
except Exception as exc:
logger.debug(exc)
raise ValueError(f"No SSO provider found for '{provider}'.")