
    Owg=                     2    d dl Z d dlmZmZ  G d de      Zy)    N)BaseExecutorrun_jobc                       e Zd ZdZd Zy)DebugExecutorz
    A special executor that executes the target callable directly instead of deferring it to a
    thread or process.

    Plugin alias: ``debug``
    c                    	 t        ||j                  || j                  j                        }| j	                  |j
                  |       y # t        $ r5  | j                  |j
                  gt        j                         dd    Y y w xY w)N   )
r   _jobstore_alias_loggername_run_job_successidBaseException_run_job_errorsysexc_info)selfjob	run_timeseventss       R/var/www/horilla/myenv/lib/python3.12/site-packages/apscheduler/executors/debug.py_do_submit_jobzDebugExecutor._do_submit_job   st    	2S#"5"5y$,,BSBSTF !!#&&&1  	=D<);<	=s   ,A ;B	B	N)__name__
__module____qualname____doc__r        r   r   r      s    2r   r   )r   apscheduler.executors.baser   r   r   r   r   r   <module>r      s    
 <2L 2r   