googleapis / googleapis/google-cloud-node
More detail on Value of type undefined not recognized exception
Open
api: spanner
library: spanner
priority: p3
type: feature request
- Dominant language
- TypeScript
- Stars
- 3.2k
- Forks
- 712
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 99
Description
**Is your feature request related to a problem? Please describe.**
In case the object we want to write has an undefined value, the following exception is raised: `Value of type undefined not recognized`. It would make the problem identification much more easy if we could get the place/field the process found the problem.
**Describe the solution you'd like**
Two way iIcan imagine:
- in the error message it mention least the first element that triggered the exception.
- an additional field on the Error object like: effected_field ; that contains the name of the filed the exception triggered on.
Contributor guide
Assessment
This issue has not been assessed yet.