diff --git a/lambda-functions/contact_form.py b/lambda-functions/contact_form.py index 8c7e84e..5866d7a 100644 --- a/lambda-functions/contact_form.py +++ b/lambda-functions/contact_form.py @@ -6,22 +6,12 @@ import boto3 import pipedrive import sentry_sdk -from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration logger = logging.getLogger() logger.setLevel(logging.INFO) -sentry_sdk.init( - dsn="https://5dd58ec394b556f352248ba56bc7876f@o202054.ingest.sentry.io" - + "/4506218347954176", - integrations=[AwsLambdaIntegration()], - traces_sample_rate=1.0, - profiles_sample_rate=1.0, -) - - def create_crm_lead(form_data): logger.info('create_crm_lead(): start') diff --git a/lambda-functions/newsletter_sign_up.py b/lambda-functions/newsletter_sign_up.py index 44f1ea7..bc3b1ed 100755 --- a/lambda-functions/newsletter_sign_up.py +++ b/lambda-functions/newsletter_sign_up.py @@ -4,7 +4,6 @@ from json import JSONDecodeError import sentry_sdk -from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration from crisp_api import Crisp, RouteError @@ -12,15 +11,6 @@ logger.setLevel(logging.INFO) -sentry_sdk.init( - dsn="https://5dd58ec394b556f352248ba56bc7876f@o202054.ingest.sentry.io" - + "/4506218347954176", - integrations=[AwsLambdaIntegration()], - traces_sample_rate=1.0, - profiles_sample_rate=1.0, -) - - def add_crisp_contact(email): logger.info('add_crisp_contact(): start') crisp = Crisp()