Unable to catch and/or change http status code 500 on Apolloserver context or via plugin
const setHttpPlugin = {
        async requestDidStart() {
            console.log('setHttpPlugin');
        return {
            async willSendResponse({ response }) {
                response.http.headers.set('Status Code', '418');
                console.log('response.http.headers', response.http.headers);
                console.log('response?.errors?.[0]:', response.errors);
                if (response?.errors?.[0]?.message === 'An error occurred') {
                    response.http.status = 418;
                }
            }
        };
        }
    };
    Using above plugin for catching any Internal Errors does not work. Shows no errors or warnings why its not working.
    