Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
proc
/
self
/
root
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
raven
/
contrib
/
bottle
/
__pycache__
[ HOME ]
Exec
Submit
File Name : __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&