• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DemocracyClub / aggregator-api / 26192a4c-09ee-45f2-9fd7-d44d0520c829

04 Sep 2024 12:54PM UTC coverage: 76.041%. Remained the same
26192a4c-09ee-45f2-9fd7-d44d0520c829

push

circleci

chris48s
ensure setuptools is in frontend layer

1187 of 1561 relevant lines covered (76.04%)

0.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/api/common/sentry_helper.py
1
import os
1✔
2

3

4
def init_sentry():
1✔
5
    if sentry_dsn := os.environ.get("SENTRY_DSN"):
1✔
6
        import sentry_sdk
×
7
        from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration
×
8
        from sentry_sdk.integrations.starlette import StarletteIntegration
×
9

10
        sentry_sdk.init(
×
11
            dsn=sentry_dsn,
12
            traces_sample_rate=0,
13
            integrations=[
14
                StarletteIntegration(transaction_style="endpoint"),
15
                AwsLambdaIntegration(),
16
            ],
17
        )
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc