Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More detail on Value of type undefined not recognized exception #2023

Open
danielovasSIO opened this issue Mar 26, 2024 · 1 comment
Open
Labels
api: spanner Issues related to the googleapis/nodejs-spanner API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@danielovasSIO
Copy link

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.
@danielovasSIO danielovasSIO added priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Mar 26, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/nodejs-spanner API. label Mar 26, 2024
@surbhigarg92
Copy link
Contributor

@danielovasSIO Can you provide a code snippet to reproduce the issue mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/nodejs-spanner API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants