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
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
sentry_sdk
/
integrations
/
__pycache__
[ HOME ]
Exec
Submit
chalice.cpython-311.pyc
� � h� � �r � d dl Z d dlmZ d dlmZ d dlmZmZ d dlm Z d dl mZ d dlm Z mZmZ d dlmZ d d lmZ d dlZd d lmZmZ d dlmZ er-d dlmZ d d lmZ d dlmZ d dlmZ ededef �� � Z d dlm Z! n# e"$ r ed� � �w xY w G d� de� � Zd� Z# G d� de� � Z$dS )� N)�reraise)�Hub)�Integration�DidNotEnable)�_make_request_event_processor)�TRANSACTION_SOURCE_COMPONENT)�capture_internal_exceptions�event_from_exception� parse_version)� TYPE_CHECKING��wraps)�Chalice�ChaliceViewError)�EventSourceHandler)�Any)�Dict)�TypeVar)�Callable�F.)�bound)�__version__zChalice is not installedc � � e Zd Zd� ZdS )r c �r � t j }|j }|� � � 5 }t � � 5 |� � � }|� t |||� � � � d d d � � n# 1 swxY w Y t j | ||� � cd d d � � S # t $ rg t j � � }t ||j ddd��� � \ }}|� ||�� � |� � � t# |� Y nw xY w d d d � � d S # 1 swxY w Y d S )N�chaliceF��type�handled��client_options� mechanism��hint)r �current�client� push_scoper �get_remaining_time_in_millis�add_event_processorr �ChaliceEventSourceHandler�__call__� Exception�sys�exc_infor �options� capture_event�flushr ) �self�event�context�hubr% �scope�configured_timer- r# s �p/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/sentry_sdk/integrations/chalice.pyr* zEventSourceHandler.__call__# s� � ��k����� �^�^� � � #��,�.�.� � �")�"F�"F�"H�"H���)�)�1�%��/�R�R�� � � � � � � � � � � � � ���� � � � � #�0�9�$��w�O�O� #� #� #� #� #� #� #� #�� � #� #� #��<�>�>��2��#)�>�'0�U�C�C�� � ���t� �!�!�%�d�!�3�3�3�� � ������"�"�"�"� #���� #�# #� #� #� #� #� #� #� #� #� #� #� #���� #� #� #� #� #� #sS �D,�9A<�0D,�<B � D,�B �D,�B*�*A.D�D,�D�D,�,D0�3D0N)�__name__� __module__�__qualname__r* � � r7 r r "