zoltanradics/strapi-middleware-sentry

Unable to set environment via middleware settings

vitush93 opened this issue · 1 comments

Explicit middleware settings are getting overridden by:

init({ ...settings, environment })

Should be init({ environment, ...settings }) instead.

Sorry for late response, Github did not notify me somehow. In the meantime Strapi came out with official plugin for Sentry so I suggest to use that: https://strapi.io/blog/introducing-sentry-plugin