summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2015-11-09 20:53:50 +0100
committerArmin Ronacher <armin.ronacher@active-4.com>2015-11-09 20:53:50 +0100
commitff47a56f79931253008299b333ab1ea0d4db1638 (patch)
tree0b7bcedec9b97494875900e4d1f329dd4e0a32e6
parentcd2850e8f1f7dd815be098e25cf0d14778b2da4f (diff)
downloadraven-ff47a56f79931253008299b333ab1ea0d4db1638.tar.gz
Small fixes for the flask integration docs
-rw-r--r--docs/integrations/flask.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/integrations/flask.rst b/docs/integrations/flask.rst
index b2c95e1..438a479 100644
--- a/docs/integrations/flask.rst
+++ b/docs/integrations/flask.rst
@@ -47,8 +47,8 @@ You can pass parameters in the ``init_app`` hook::
def create_app():
app = Flask(__name__)
- sentry.init_app(app, dsn='http://public_key:secret_key@example.com/1',
- logging=True, level=logging.ERROR)
+ sentry.init_app(app, dsn='___DSN___', logging=True,
+ level=logging.ERROR)
return app
Settings
@@ -108,7 +108,7 @@ Log a generic message with ``captureMessage``::
sentry.captureMessage('hello, world!')
-Getting the last event id
+Getting The Last Event ID
-------------------------
If possible, the last Sentry event ID is stored in the request context
@@ -122,7 +122,7 @@ ID if have done a custom error 500 page.
<p>The error identifier is {{ g.sentry_event_id }}</p>
{% endif %}
-Dealing with proxies
+Dealing With Proxies
--------------------
When your Flask application is behind a proxy such as nginx, Sentry will