fix: Add console error messages for better logging (#1364)
fix: Add console error messages for better logging (#1364)

* Add console error messages for better logging

* Improve logging messages

* Nit fix

* Nit fix again

GoogleCloudPlatform/nodejs-docs-samples,GoogleCloudPlatform/nodejs-docs-samples,GoogleCloudPlatform/nodejs-docs-samples,GoogleCloudPlatform/nodejs-docs-samples