Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Each resource can contain several basic methods (retrieve, update, delete). Each

We've added the ability to specify an errorLogger when instantiating Classy Node so that more specific information surrounding errors can be passed back to the clients and used.

This is different from requestDebug in that it will expose data related to errors on requests as well as from Classy Node in addition to other various information (where the error occured, params passed in to the failing method, etc.).
This is different from requestDebug in that it will expose data related to errors on requests as well as from Classy Node in addition to other various information (where the error occurred, params passed in to the failing method, etc.).

NOTE:

Expand All @@ -74,7 +74,7 @@ Error data returned has the potential to contain sensitive data. We attempt to p
```
let bugsnag = null;
let errorLogger = (error, other) => {
console.log('An error occured', error, other);
console.log('An error occurred', error, other);
};

if (process.env.BUGSNAG_API_KEY) {
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Each resource can contain several basic methods (retrieve, update, delete). Each

We've added the ability to specify an errorLogger when instantiating Classy Node so that more specific information surrounding errors can be passed back to the clients and used.

This is different from requestDebug in that it will expose data related to errors on requests as well as from Classy Node in addition to other various information (where the error occured, params passed in to the failing method, etc.).
This is different from requestDebug in that it will expose data related to errors on requests as well as from Classy Node in addition to other various information (where the error occurred, params passed in to the failing method, etc.).

NOTE:

Expand All @@ -74,7 +74,7 @@ Error data returned has the potential to contain sensitive data. We attempt to p
```
let bugsnag = null;
let errorLogger = (error, other) => {
console.log('An error occured', error, other);
console.log('An error occurred', error, other);
};

if (process.env.BUGSNAG_API_KEY) {
Expand Down