From 339419117fff06fa89124d04b1921b61b8865d80 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 7 Nov 2018 21:04:10 +0100 Subject: [PATCH] Fixes for sentry docs (#2991) --- docs/errorhandling.rst | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/docs/errorhandling.rst b/docs/errorhandling.rst index bfc7f1181c..12deadd4cc 100644 --- a/docs/errorhandling.rst +++ b/docs/errorhandling.rst @@ -57,19 +57,15 @@ The `YOUR_DSN_HERE` value needs to be replaced with the DSN value you get from your Sentry installation. After installation, failures leading to an Internal Server Error are automatically reported to -Sentry and from there you can receive error notifications. Sentry also supports -capturing custom exceptions:: - - import sentry_sdk - - try: - throwing_function() - except Exception as e: - with sentry_sdk.push_scope() as scope: - sentry_sdk.capture_exception(e) - -See the `Python `_ and `Flask-specific `_ -Sentry SDK documentation for more detailed information. +Sentry and from there you can receive error notifications. + +Follow-up reads: + +* Sentry also supports catching errors from your worker queue (RQ, Celery) in a + similar fashion. See the `Python SDK docs + `_ for more information. +* `Getting started with Sentry `_ +* `Flask-specific documentation `_. .. _error-handlers: