Skip to content

Commit

Permalink
Update README config sect to match default values
Browse files Browse the repository at this point in the history
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
1 parent a57d5ed commit 6c0a399
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 6c0a399

Please sign in to comment.