diff --git a/README.md b/README.md index 79819cc..abdf9f3 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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) { diff --git a/docs/README.md b/docs/README.md index 79819cc..abdf9f3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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: @@ -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) {