I am using react-error-boundary to catch the JS errors which occur during the React lifecycle and also the API errors. On catching an error I am sending it to the logging se