Flask Documentation (1.1.x)need to install the sentry-sdk client with extra flask dependencies: $ pip install sentry-sdk[flask] And then add this to your Flask app: import sentry_sdk from sentry_sdk.integrations.flask import FlaskIntegration FlaskIntegration sentry_sdk.init('YOUR_DSN_HERE',integrations=[FlaskIntegration()]) The YOUR_DSN_HERE value needs to be replaced with the DSN value you get from your Sentry installation. After installation supports catching errors from your worker queue (RQ, Celery) in a similar fashion. See the Python SDK docs [https://docs.sentry.io/platforms/python/] for more information. Getting started with Sentry [https://docs0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)need to install the sentry-sdk client with extra flask dependencies: $ pip install sentry-sdk[flask] And then add this to your Flask app: import sentry_sdk from sentry_sdk.integrations.flask import FlaskIntegration FlaskIntegration sentry_sdk.init('YOUR_DSN_HERE',integrations=[FlaskIntegration()]) The YOUR_DSN_HERE value needs to be replaced with the DSN value you get from your Sentry installation. After installation 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. 1.8.2 Error0 码力 | 291 页 | 1.25 MB | 1 年前3
共 2 条
- 1
相关搜索词













