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

errors-reporting: Unhandled rejections are reported #2360

Prev Previous commit
Next Next commit
Update README config sect to match default values
In particular, the configuration section, as well as the section
discussing the handling of unhandled rejections, discussed the
default behavior of handling unhandled rejections.  Now the
default action is not described in the configuration section so
that only one section describes that behavior.
  • Loading branch information
DominicKramer committed Jun 15, 2017
commit 6c0a399e134f754daa17c5957244a597e24dea13
4 changes: 2 additions & 2 deletions packages/error-reporting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ var errors = require('@google-cloud/error-reporting')({
// defaults to 2 (warnings)
logLevel: 2,
// determines whether or not unhandled rejections are reported to the
// error-reporting console. The default value of this property is true.
reportUnhandledRejections: false,
// error-reporting console
reportUnhandledRejections: true,
serviceContext: {
service: 'my-service',
version: 'my-service-version'
Expand Down