Sentry not getting errors from Google Cloud Composer

We have some applications in Google Cloud Composer and wanted to integrate Sentry to report any errors we face in Cloud Composer.
So I installed sentry-sdk==0.14.2 on GCP Console -> Cloud Composer -> PYPI Packages and installed the package.
And I added the environment variable “SENTRY_DSN” with value as {PROTOCOL}://{PUBLIC_KEY}@{HOST}/{PROJECT_ID} as DSN.

Though I added these, I still see no error logged into Sentry.

Please guide me if i’m missing something.
I can provide more details as requested.