@techloop/amqp-broker
Advanced tools
Comparing version 1.3.8 to 1.3.9
@@ -115,4 +115,7 @@ if (!process.env.EXCHANGE_NAME) { | ||
const failureRoutingKey = `failed.${Task.key}`; | ||
this.exchange.publish(failureRoutingKey, data, {}, (err) => { | ||
console.error('Can not publish message', err) | ||
console.log(failureRoutingKey) | ||
console.log(exchange) | ||
this.connection.publish(process.env.EXCHANGE_NAME, failureRoutingKey, data) | ||
this.exchange.publish(failureRoutingKey, data, {}, (err, d) => { | ||
console.error('Can not publish message', err, d) | ||
}); | ||
@@ -119,0 +122,0 @@ } |
{ | ||
"name": "@techloop/amqp-broker", | ||
"version": "1.3.8", | ||
"version": "1.3.9", | ||
"description": "AMQP broker for microservices communication", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
5099
145
11