Closed jafin closed 2 years ago
When a server responds with a not ok response (ie 500), index parsing is attempted and fails with
500
TypeError: Cannot read properties of undefined (reading 'fieldVectors')
This adds a guard for error response and returns the EMPTY_INDEX instead. Relates to #85
Thanks a lot!
When a server responds with a not ok response (ie
500
), index parsing is attempted and fails withThis adds a guard for error response and returns the EMPTY_INDEX instead. Relates to #85