human
Solve the following python programming problem given the following code:
def register_sentry(client, worker) : 
    'Given a Raven client and an RQ worker, registers exception handlers
    with the worker so exceptions are logged to Sentry.
    ' 
    def send_to_sentry(job, * exc_info) : 
        client.captureException (exc_info = exc_info, extra = { 
            'job_id' : job.id, 
            'func' : job.func, 
            'args' : job.args, 
            'kwargs' : job.kwargs, 
            'description' : job.description, 
}) 
worker.push_exc_handler (worker) 

    
    

    Fix the buggy line: worker.push_exc_handler (worker)
assistant
#Here is Python code to fix the buggy line: worker.

worker.push_exc_handler (def send_to_sentry()