Skip to content

Commit a2dff29

Browse files
authored
Update README.md
1 parent 8b7f9bc commit a2dff29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/error-reporting/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ var errors = require('@google-cloud/error-reporting')({
162162

163163
If a key is provided, the module will not attempt to authenticate using the methods associated with locally-stored credentials as mentioned in the previous section.
164164

165-
We recommend storing the API key in a file rather than hard-coding it into your application's source code.
165+
We recommend using a file, environment variable, or another mechanism to store the API key rather than hard-coding it into your application's source.
166166
167-
**Note:** The Error Reporting instance will check if the provided API key is invalid shortly after it is instantiated. If the key is invalid, an error-level message will be logged.
167+
**Note:** The Error Reporting instance will check if the provided API key is invalid shortly after it is instantiated. If the key is invalid, an error-level message will be logged to stdout.
168168
169169
## Configuration
170170

0 commit comments

Comments
 (0)