<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def synchronous(function, event):
 """ Runs the function synchronously taking care of exceptions. """

    try:
        function(event)
    except Exception as error:
        logger = get_function_logger(function)
        logger.exception(error)