beanstalkd
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -80,2 +80,3 @@ 'use strict'; | ||
this.connection = connection; | ||
this.closed = false; | ||
this.readQueue = new _readQueue2.default(this.connection); | ||
@@ -147,5 +148,5 @@ resolve(this); | ||
debug(`Sent command "${ writer.command } ${ args.join(' ') }"`); | ||
debug(`Sent command "${writer.command} ${args.join(' ')}"`); | ||
} catch (err) { | ||
debugError(`Command "${ writer.command } ${ args.join(' ') }" ${ err.toString() }`); | ||
debugError(`Command "${writer.command} ${args.join(' ')}" ${err.toString()}`); | ||
throw err; | ||
@@ -152,0 +153,0 @@ } finally { |
@@ -32,3 +32,3 @@ 'use strict'; | ||
if (!this.current) { | ||
this.connection.emit('error', new Error(`No read queue item for item, length: ${ data.length }`)); | ||
this.connection.emit('error', new Error(`No read queue item for item, length: ${data.length}`)); | ||
console.log('No read queue item' /* , data.toString() */); | ||
@@ -35,0 +35,0 @@ this.connection.destroy(); |
{ | ||
"name": "beanstalkd", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A beanstalkd client for Node.js with promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/client.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
844
43368
20