zoltanradics / strapi-middleware-sentry

[DISCCOUNTINUED] The missing Sentry middleware for Strapi. By using this third-party (not official Strapi) middleware, you can use Sentry client on your Strapi instance, therefore you can access Sentry methods in your application. (wherever Strapi instance is available)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to set environment via middleware settings

vitush93 opened this issue · 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