Ë
    qûàgÞ  ã                   óP   — d dl Z d dlmZ  e j                  «       Zde_        dd„Zy)é    N)ÚWSGIHandlerc                 ó\  — 	 t        |j                  j                  j                  j	                  d«      t
        «      r|t        _        n t        j                  rt        j                  }	 |€ |«       }|j                  |ur|j                  |«      ‚|‚# t        $ r Y Œ6w xY w# d}d}w xY w)a¿  
    Alternative function for django.views.debug.technical_500_response.

    Django's convert_exception_to_response() wrapper is called on each 'Middleware' object to avoid
    leaking exceptions. If an uncaught exception is raised, the wrapper calls technical_500_response()
    to create a response for django's debug view.

    Runserver_plus overrides the django debug view's technical_500_response() function to allow for
    an enhanced WSGI debugger view to be displayed. However, because Django calls
    convert_exception_to_response() on each object in the stack of Middleware objects, re-raising an
    error quickly pollutes the traceback displayed.

    Runserver_plus only needs needs traceback frames relevant to WSGIHandler Middleware objects, so
    only store the traceback if it is for a WSGIHandler. If an exception is not raised here, Django
    eventually throws an error for not getting a valid response object for its debug view.
    ÚselfN)Ú
isinstanceÚtb_nextÚtb_frameÚf_localsÚgetr   ÚtldÚwsgi_tbÚAttributeErrorÚ__traceback__Úwith_traceback)ÚrequestÚexc_typeÚ	exc_valueÚtbÚstatus_codes        úm/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/django_extensions/management/technical_response.pyÚnull_technical_500_responser   
   sš   € ð"ä�b—j‘j×)Ñ)×2Ñ2×6Ñ6°vÓ>ÄÔLØŒC�KÜ�[Š[Ü—‘ˆBðØÐÙ ›
ˆIØ×"Ñ"¨"Ñ,Ø×*Ñ*¨2Ó.Ð.Øˆøô ò Ùðûð ˆ	Ø‰ús   ‚A)B Á,*B% Â	B"Â!B"Â%B+)iô  )Ú	threadingÚdjango.core.handlers.wsgir   Úlocalr   r   r   © ó    r   ú<module>r      s%   ðã å 1à€i‡o�oÓ€Ø€„ô"r   