Skip to content

Commit

Permalink
Add handling for resource-limit-exceeded error
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
dnwe committed Feb 20, 2017
1 parent 52aff9f commit c7e7728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mqlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,7 @@ var lookupError = function(err) {
} else if (err instanceof AMQP.Errors.AuthenticationError) {
err = new SecurityError('sasl authentication failed');
} else if (err.condition === 'amqp:precondition-failed' ||
err.condition === 'amqp:resource-limit-exceeded' ||
err.condition === 'amqp:not-allowed' ||
err.condition === 'amqp:link:detach-forced' ||
err.condition === 'amqp:link:message-size-exceeded' ||
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mqlight",
"version": "2.0.2016111400",
"version": "2.0.2017022000",
"description": "IBM MQ Light Client Module",
"author": "IBM MQ Light <[email protected]>",
"homepage": "https://developer.ibm.com/messaging/mq-light/",
Expand Down

0 comments on commit c7e7728

Please sign in to comment.