Output helpful error message when the project ID was not found #2282
Labels
api: firestore
Issues related to the googleapis/nodejs-firestore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
@google-cloud/firestore
version:Steps to reproduce
When running the script below,
Firestore fails with an unhelpful error message if the projectId was incorrect. When this is obtained via an entire cascade of environment variables and tool executions, a useful error message would really help.
The text was updated successfully, but these errors were encountered: