Throw from session directories and only fatal error when making sense.

This commit is contained in:
Stefan Ceriu
2026-09-30 11:36:06 +03:00
parent a8bc26dc93
commit 7973da8251
5 changed files with 21 additions and 12 deletions
@@ -280,7 +280,7 @@ class AuthenticationService: AuthenticationServiceProtocol {
}
private func rotateSessionDirectory() {
sessionDirectories.delete()
try? sessionDirectories.delete()
sessionDirectories = .init()
}