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
/
hc_python
/
lib64
/
python3.12
/
site-packages
/
sentry_sdk
/
integrations
/
__pycache__
[ HOME ]
Exec
Submit
File Name : chalice.cpython-312.pyc
� w�/i[ � �D � d dl Z d dlmZ d dlZd dlmZmZ d dlmZ d dl m Z d dlmZm Z mZmZ d dlZd dlmZ d dlmZmZ d d lmZ d dlmZ er'd dlmZ d d lmZ d dlmZ d dlmZ ededef �� Z G d� de� Zd� Z G d� de� Z!y# e$ r ed � �w xY w)� N��wraps)�Integration�DidNotEnable)�_make_request_event_processor)�TransactionSource)�capture_internal_exceptions�event_from_exception� parse_version�reraise)�__version__)�Chalice�ChaliceViewError)�EventSourceHandlerzChalice is not installed)� TYPE_CHECKING)�Any)�Dict)�TypeVar)�Callable�F.)�boundc � � e Zd Zd� Zy)r c �8 � t j � }t j � 5 }t � 5 |j � }|j t |||� � d d d � t j | ||� cd d d � S # 1 sw Y �*xY w# t $ rd t j � }t ||j ddd��� \ }}t j ||�� |j � t! |� Y nw xY w d d d � y # 1 sw Y y xY w)N�chaliceF��type�handled��client_options� mechanism��hint)� sentry_sdk� get_client�isolation_scoper �get_remaining_time_in_millis�add_event_processorr �ChaliceEventSourceHandler�__call__� Exception�sys�exc_infor �options� capture_event�flushr )�self�event�context�client�scope�configured_timer, r"