관리-도구
편집 파일: __init__.cpython-37.pyc
B ��Y� � @ s\ d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl mZ G dd � 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 @ s: e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd S )�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 C s2 || _ || _|| _| jr&tt| j�� | | j _d S )N)�app�client�loggingr r Zsentry)�selfr r r � r �N/opt/alt/python37/lib/python3.7/site-packages/raven/contrib/bottle/__init__.py�__init__) s zSentry.__init__c O s&