Config changes

This commit is contained in:
2026-03-19 17:12:08 +01:00
parent 67186476ce
commit d1fd6fb9a0
10 changed files with 52 additions and 176 deletions
@@ -23,15 +23,14 @@ namespace Musify.Infrastructure.Identity
}
catch (OperationCanceledException)
{
throw;
logger.LogError("Operation to retrieve Keycloak user with id {KeycloakId} was cancelled.", keycloakId);
return Result.Error("Operation was cancelled.");
}
catch (Exception exception)
{
logger.LogWarning(exception, "Keycloak user with id {KeycloakId} could not be retrieved.", keycloakId);
return Result.NotFound();
}
return Result.Success(KeycloakUserMapper.Map(keycloakUser));
}