ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
File manager
File manager - Edit - /opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/__pycache__/unraisablehook.cpython-312.pyc
Back
� ��/i� � �t � d dl Z d dlZd dlmZmZ d dlmZ d dlmZ erd dlm Z d dlm Z G d� de� Zd � Zy) � N)�capture_internal_exceptions�event_from_exception)�Integration)� TYPE_CHECKING)�Callable)�Anyc � � e Zd ZdZed� � Zy)�UnraisablehookIntegration�unraisablehookc �H � t t j � t _ y )N)�_make_unraisable�sysr � � �U/opt/hc_python/lib/python3.12/site-packages/sentry_sdk/integrations/unraisablehook.py� setup_oncez$UnraisablehookIntegration.setup_once s � � .�c�.@�.@�A��r N)�__name__� __module__�__qualname__� identifier�staticmethodr r r r r r s � �!�J��B� �Br r c � � � � fd�}|S )Nc � �� t j � j t � }|� �| � S | j r�| j r{t � 5 t | j | j | j ft j � j ddd��� \ }}t j ||�� d d d � �| � S # 1 sw Y �xY w)Nr F)�type�handled)�client_options� mechanism)�hint)� sentry_sdk� get_client�get_integrationr � exc_value� exc_tracebackr r �exc_type�options� capture_event)� unraisable�integration�eventr �old_unraisablehooks �r �sentry_sdk_unraisablehookz3_make_unraisable.<locals>.sentry_sdk_unraisablehook s� �� � �+�+�-�=�=�>W�X�� ��%�j�1�1����J�$<�$<�,�.�2�"�+�+�"�,�,�"�0�0�� $.�#8�#8�#:�#B�#B�'7�E�J����t� �(�(��T�:� /� "�*�-�-� /�.�s �A)C�Cr )r* r+ s ` r r r s �� �.�2 %�$r ) r r �sentry_sdk.utilsr r �sentry_sdk.integrationsr �typingr r r r r r r r �<module>r/ s4 �� � �� 0� ����B�� B�%r
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings