Environment details
- OS: OS X
- Node.js version: v6.9.4
- npm version: 3.10.10
- google-cloud-node version: @google-cloud/error-reporting@0.1.0
Steps to reproduce
Provided the NODE_ENV environment variable is not set to production, the following code should print a message to standard out stating that the NODE_ENV environment variable needs to be set to production or the ignoreEnvironmentCheck needs to be set to true. However, nothing is printed to standard out.
var errors = require('@google-cloud/error-reporting')({
serviceContext: {service: 'my-service'}
});
errors.report(new Error('Something broke!'));