arabold / serverless-sentry-lib

MIT License
32 stars 15 forks source link

filterLocal doesn't seem to work #8

Closed luqmaan closed 4 years ago

luqmaan commented 6 years ago

I tried using the filterLocal custom option but could not get it to work.

plugins:
  - serverless-content-encoding
  - serverless-sentry

custom:
  contentEncoding:
    minimumCompressionSize: 0
  sentry:
    dsn: ${env:SENTRY_DSN}
    filterLocal: false

The only way I could get pluginConfig.filterLocal to be false was by setting the environment variable SENTRY_FILTER_LOCAL=false.

SENTRY_FILTER_LOCAL=false SLS_DEBUG='*' serverless invoke local -f emailreset