Skip to content

Commit

Permalink
Update terraso_backend/apps/graphql/schema/landscapes.py
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Schreiber <[email protected]>
  • Loading branch information
josebui and paulschreiber authored Nov 7, 2023
1 parent e536f6e commit 006a7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraso_backend/apps/graphql/schema/landscapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit 006a7cd

Please sign in to comment.