PostHog / posthog-filter-out-plugin

🦔 Injest only those events satisfying the given filter conditions
MIT License
3 stars 3 forks source link

chore: propagate parsing error messages to plugin logs #3

Closed xvello closed 1 year ago

xvello commented 1 year ago

Right now, the exception is swallowed and the users need to guess what is invalid in their config.

This PR concatenates err.message as I could not get the new throw new Error('message', { cause: err }) syntax to work on node 18