Unable to set environment via middleware settings
vitush93 opened this issue · 1 comments
vitush93 commented
Explicit middleware settings are getting overridden by:
strapi-middleware-sentry/lib/index.js
Line 30 in b8023d2
Should be init({ environment, ...settings })
instead.
zoltanradics commented
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