Comparing version 0.3.1 to 0.3.2
@@ -8,7 +8,7 @@ "use strict"; | ||
_GetConnection = require("./_getConnection.js"), | ||
ERROR_FORMATTER = comb("%s's listener done with error \n%s"); | ||
ERROR_FORMATTER = comb("%s's listener done with error\n"); | ||
function errorHandler(err) { | ||
console.error(err.stack || err); | ||
console.error(err); | ||
throw err; | ||
@@ -96,4 +96,4 @@ } | ||
}, function (err) { | ||
errorHandler(ERROR_FORMATTER.format(queueName, err.stack || err)); | ||
done(); | ||
errorHandler(ERROR_FORMATTER.format(queueName) + err.stack || err); | ||
}); | ||
@@ -100,0 +100,0 @@ } else { |
{ | ||
"name": "hare", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Wrapper around amqp to make common patterns easier", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45582