ڈ j d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl mZ G d d e Z dS ) z raven.contrib.bottle ~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. )absolute_importN)request) setup_logging)get_data_from_request) SentryHandlerc 2 e Zd ZdZd dZd Zd Zd Zd ZdS ) Sentryav Bottle application for Sentry. >>> sentry = Sentry(app, client) Automatically configure logging:: >>> sentry = Sentry(app, client, logging=True) Capture an exception:: >>> try: >>> 1 / 0 >>> except ZeroDivisionError: >>> sentry.captureException() Capture a message:: >>> sentry.captureMessage('hello, world!') Fc || _ || _ || _ | j r!t t | j | | j _ d S N)appclientloggingr r sentry)selfr r r s o/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/raven/contrib/bottle/__init__.py__init__zSentry.__init__) sF <