§ B¢Øý( ã óp — d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z G d„ dej ¦ « ZdS ) zž raven.contrib.webpy ~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. é )Úabsolute_importN)Ú setup_logging)Ú SentryHandler)Úget_data_from_requestc ó2 — e Zd ZdZd d„Zd„ Zd„ Zd„ Zd„ ZdS ) ÚSentryApplicationaª Web.py application for Sentry. >>> sentry = Sentry(client, mapping=urls, fvars=globals()) Automatically configure logging:: >>> sentry = Sentry(client, logging=True, mapping=urls, fvars=globals()) Capture an exception:: >>> try: >>> 1 / 0 >>> except ZeroDivisionError: >>> sentry.captureException() Capture a message:: >>> sentry.captureMessage('hello, world!') Fc ó — || _ || _ | j r!t t | j ¦ « ¦ « t j j | fi |¤Ž d S )N)ÚclientÚloggingr r ÚwebÚapplicationÚ__init__)Úselfr r Úkwargss ún/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/raven/contrib/webpy/__init__.pyr zSentryApplication.__init__) sS € ؈ŒØˆŒØŒ<ð 6Ý-¨¬Ñ4Ô4Ñ5Ô5Ð5ÝŒÔ Ð0Ð0¨Ð0Ð0Ð0Ð0Ð0ó c ó‚ — | j | d¦ « t ¦ « d| i¬¦ « d S )NÚexc_infoÚapp)r ÚdataÚextra)r ÚcaptureExceptionÚgetr )r Úargsr s r Úhandle_exceptionz"SentryApplication.handle_exception0 sM € ØŒ×$Ò$Ø—Z’Z Ñ+Ô+Ý&Ñ(Ô(àtðð %ñ ô ð ð ð r c ó® — t j | ¦ « S # t $ r) | t j ¦ « ¬¦ « ‚ w xY w)N)r )r r ÚhandleÚ Exceptionr Úsysr )r s r r zSentryApplication.handle9 sX € ð Ý”?×)Ò)¨$Ñ/Ô/Ð/øÝð ð ð Ø×!Ò!3¬<©>¬>Ð!Ñ:Ô:Ð:Øð øøøs ‚! ¡3Ac ó˜ — | j s J d¦ « ‚| d¦ « }|€t ¦ « |d<