$44 GRAYBYTE WORDPRESS FILE MANAGER $51

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python38/lib/python3.8/site-packages/__pycache__/

HOME
Current File : /opt/alt/python38/lib/python3.8/site-packages/__pycache__//NCSentry.cpython-38.pyc
U

e��g��@s*ddlZddlZddlZGdd�d�ZdS)�Nc@s&eZdZdZdZddd�Zdd�ZdS)	�NCSentrya
    Simple Wrapper

        sentry = NCSentry()

    After successfully inited class we can use Sentry debug system:

    Report to Sentry:

        SentryClient.capture_message("test")
        SentryClient.capture_exception(Exception("MyAwsomeString"))

    z0.19.2Nc	Cs�i|_|r|}ntj�tj�t��}tj�|d�|_|��t	|j��4}|�
�|_tj
|jf|j�|_tj|_tj|_W5QRXdS)Nz.sentry.conf)�sentry_args�os�path�dirname�realpath�__file__�joinZ	conf_path�construct_args�open�readZdsn�
sentry_sdkZinitZclientZcapture_message�capture_exception)�selfZ
config_dirZdir_pathZfh�r�9/opt/alt/python38/lib/python3.8/site-packages/NCSentry.py�__init__s
zNCSentry.__init__c
Cspz8ddl}|jjj�|j�}|�d�j|kr6d|jd<Wn2t	k
rj}zt
�d|���W5d}~XYnXdS)Nrz
sentry-sdkZtraces_sample_ratez Can't setup sentry default args )�
pkg_resourcesZexternZ	packaging�versionZVersion�!_NCSentry__conflict_under_versionZget_distributionZparsed_versionr�	Exception�warnings�warn)rrZ_conflict_under_version�errrrrr
*s
�
��zNCSentry.construct_args)N)�__name__�
__module__�__qualname__�__doc__rrr
rrrrrs
r)rr
rrrrrr�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2025 8.03 AM
root / linksafe
0755
NCSentry.cpython-38.pyc
1.587 KB
4 Apr 2025 9.00 AM
root / root
0644
six.cpython-38.opt-1.pyc
25.778 KB
10 Jul 2020 12.29 PM
root / linksafe
0644
six.cpython-38.pyc
25.778 KB
10 Jul 2020 12.29 PM
root / linksafe
0644
socks.cpython-38.pyc
21 KB
10 Jul 2020 11.16 AM
root / linksafe
0644
sockshandler.cpython-38.pyc
3.565 KB
10 Jul 2020 11.16 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF