You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot read properties of undefined (reading 'data') - ETIMEDOUT #26
handleRequest assumes that error.response exists when catching an error thrown by Axios. As a result, creating error.message in the catch block throws a type error.
I've had this occur when a ETIMEDOUT code from Axios is returned. Based on https://axios-http.com/docs/handling_errors the catch block should check whether error.response or error.request exists.
Activity