diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 13:26:06 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 13:26:06 +0530 |
commit | 85555704cee850f2145ad5b2bc3afe66bfbd5e82 (patch) | |
tree | 6043c8841562de5f32204712f2549b62ac0eb969 /app/__init__.py | |
parent | 84f602230b2ff6a3b9acabdf3c94be5810f64961 (diff) |
added CI badge and added sentry tracking
Diffstat (limited to 'app/__init__.py')
-rw-r--r-- | app/__init__.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/__init__.py b/app/__init__.py index dd2f7ff..7f09da5 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,5 +1,16 @@ from flask import Flask +import sentry_sdk +from sentry_sdk.integrations.flask import FlaskIntegration + +""" +sentry_sdk.init( + dsn="https://7bc9916920c041479b69db97bdb279fa@o126149.ingest.sentry.io/5424142", + integrations=[FlaskIntegration()], + traces_sample_rate=1.0 +) +""" + import configparser config = configparser.ConfigParser() config.read('config.ini') |