def METHOD_NAME(e, function_context):
    ex = e.ceHeaders["extensions"]
    with set_req_context(ex["request"]):
        try:
            return func(e, function_context)
        except Exception as e:
            return e