Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid TypeError if resp is undefined
When `resp` is undefined, this error handling code will itself throw "TypeError: Cannot read properties of undefined (reading 'insertErrors')" Instead of throwing, we can use optional chaining to allow the error message to be handled as expected.
- Loading branch information