Skip to content

Commit

Permalink
fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
titarenko committed Dec 9, 2017
2 parents e3e3a7b + 312b334 commit a0c37c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Queue.prototype.subscribe = function (handler, options) {
var data;
try {
data = JSON.parse(rawContent.toString());
} catch (e) {
} catch (error) {
self.emit('failure', { error: error, name: self._name });
channel.ack(message);
}
Expand Down

0 comments on commit a0c37c9

Please sign in to comment.