from rest_framework.views import exception_handler


def custom_exception_handler(exc, context):
    print("got here")
    response = exception_handler(exc, context)

    if response is not None:
        response.data['message'] = "samuel same"

    return response
