Skip to content

Conversation

@schiwekM
Copy link

This happens when I have a handler on an entity and inside it trigger a DELETE for an associated entity but the association actually has no data stored. Then the req.diff is undefined causing a 500 error.

The fix sets data to a default empty object so the later handlers of the plugin detect that there is nothing to log.

@sjvans
Copy link
Contributor

sjvans commented Oct 25, 2024

superseded by #121

sjvans added a commit that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants