\ßbXTddlZddlmZddlmZmZddlmZddlm Z e r+ddl m Z ddl m Z ddl m Z dd lmZe e eeege fZGd d eZd ZddZdS)N)Hub)capture_internal_exceptionsevent_from_exception) Integration)MYPY)Callable)Any)Type) TracebackTypec4eZdZdZdZddZedZdS)ExcepthookIntegration excepthookFcdt|tstd|d||_dS)NzInvalid value for always_run: z (must be type boolean)) isinstancebool ValueError always_run)selfrs /builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/sentry_sdk/integrations/excepthook.py__init__zExcepthookIntegration.__init__sC*d++ *::  %cLttjt_dS)N)_make_excepthooksysrrr setup_oncez ExcepthookIntegration.setup_once%s*#.99rNF)__name__ __module__ __qualname__ identifierrr staticmethodrrrrr r sMJJ%%%%::\:::rr cfd}|S)Nc^tj}|t}|xt |jrd|j}t5t|||f|j ddd\}}| ||dddn #1swxYwY|||S)NrF)typehandled)client_options mechanism)hint) rcurrentget_integrationr _should_sendrclientrroptions capture_event) type_value tracebackhub integrationr-eventr)old_excepthooks rsentry_sdk_excepthookz/_make_excepthook..sentry_sdk_excepthook-sk))*?@@  "|K4J'K'K "ZF,.. 4 42E9-#)>'3FF t !!%d!333  4 4 4 4 4 4 4 4 4 4 4 4 4 4 4~eUI666s8BBBr)r6r7s` rrr+s$77777& ! rFc<|rdSttdrdSdS)NTps1F)hasattrr)rs rr,r,Cs-tsEu 4rr)rsentry_sdk.hubrsentry_sdk.utilsrrsentry_sdk.integrationsrsentry_sdk._typesrtypingrr r typesr BaseException Excepthookr rr,rrrrCs$ NNNNNNNN//////"""""" ###### m m];  J :::::K:::*!!!0      r