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

Added two differents errors events. 'error' is for specific AWS clien… #20

Merged
merged 2 commits into from
Dec 3, 2015
Merged

Conversation

pablovilas
Copy link
Contributor

…t error and 'processing_error' is for app message processing errors

  • Updated tests
  • Updated documentation
  • Fixed comments on previous pr

…t error and 'processing_error' is for app message processing errors
@@ -27,6 +27,10 @@ app.on('error', function (err) {
console.log(err.message);
});

app.on('processing_error', function (err) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one more request...

Can we leave this as error? It's in the example because if you don't listen to error events on an EventEmitter it'll throw the exception and crash your app. I'm ok with leaving the new event out of the main example.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.
Thanks

robinjmurphy added a commit that referenced this pull request Dec 3, 2015
Added two differents errors events. 'error' is for specific AWS clien…
@robinjmurphy robinjmurphy merged commit 303dde1 into bbc:master Dec 3, 2015
@pablovilas
Copy link
Contributor Author

Can you please release a new version?.
Thanks.

@robinjmurphy
Copy link
Contributor

Published as 3.0.0 to NPM and here https://github.com/bbc/sqs-consumer/releases/tag/v3.0.0

@pablovilas
Copy link
Contributor Author

Thanks

@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants