Sentry Plugin is not sending any error to sentry

System Information
  • Strapi Version: V 4.5.0
  • Operating System: MacOs
  • Database: PostgresSql
  • Node Version: v16.13.1
  • NPM Version: 8.1.2
  • Yarn Version:

I am trying to integrate the strapi sentry plugin with v4, i added the required configurations. But sentry is not sending any error to sentry dashboard.

//config/plugins.js
  sentry: {
    enabled: true,
    config: {
      dsn: env('SENTRY_DSN'),
      sendMetadata: true,
    },
  },```
My Package.json

@strapi/plugin-documentation”: “^4.4.3”,
@strapi/plugin-i18n”: “4.5.0”,
@strapi/plugin-sentry”: “4.5.0”,
@strapi/plugin-users-permissions”: “4.5.0”,
@strapi/provider-email-sendgrid”: “^4.1.9”,
@strapi/strapi”: “4.5.0”,```