diff --git a/terraso_backend/apps/graphql/schema/landscapes.py b/terraso_backend/apps/graphql/schema/landscapes.py index 27779186e..7051d1e8e 100644 --- a/terraso_backend/apps/graphql/schema/landscapes.py +++ b/terraso_backend/apps/graphql/schema/landscapes.py @@ -460,7 +460,7 @@ def mutate_and_get_payload(cls, root, info, **kwargs): membership = landscape.membership_list.memberships.get(id=membership_id) except CollaborationMembership.DoesNotExist: logger.error( - "Attempt to delete Landscape Membership, but it was not found", + "Attempt to delete Landscape Membership, but membership was not found", extra={"membership_id": membership_id}, ) raise GraphQLNotFoundException(model_name=CollaborationMembership.__name__)