Skip to content

Commit 07644e6

Browse files
committed
tweak step 2 in reporting errors for flask apps
1 parent 04c42b7 commit 07644e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Posts and associated code:
77

88
|Post|Code Directory|
99
|---|---|
10+
|[Learning pandas by Exploring COVID-19 Data](https://www.fullstackpython.com/blog/learn-pandas-basic-commands-explore-covid-19-data.html)|[pandas-covid-19](./pandas-covid-19)|
1011
|[Adding Okta Authentication to an Existing Flask Web App](https://www.fullstackpython.com/blog/okta-user-auth-existing-flask-web-app.html)|[auth-existing-flask-app](./auth-existing-flask-app)|
1112
|[Fresh Tutorials on Full Stack Python](https://www.fullstackpython.com/blog/fresh-tutorials-october-2018.html)|No code in post.|
1213
|[How to Provision Ubuntu 18.04 LTS Linux Servers on DigitalOcean](https://www.fullstackpython.com/blog/provision-ubuntu-1804-linux-servers-digitalocean.html)|No code in post.|

report-errors-flask-web-apps-sentry/step2/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77

88
sentry_sdk.init(
9-
dsn="https://{}.ingest.sentry.io/{}".format(os.getenv('SENTRY_KEY'),
10-
os.getenv('SENTRY_APP_ID')),
11-
integrations=[FlaskIntegration()]
9+
dsn=os.getenv('SENTRY_DSN'), integrations=[FlaskIntegration()]
1210
)
1311

1412

0 commit comments

Comments
 (0)