Skip to content

Commit 9386e97

Browse files
committed
remove error logs
1 parent 803fb14 commit 9386e97

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,10 @@ WriteRequest.prototype.makeWriter = function () {
123123
self.writer = writer
124124

125125
writer.onwriteend = function () {
126-
if (self.writer !== writer) throw new Error('nah')
127126
self.onwrite(null)
128127
}
129128

130129
writer.onerror = function (err) {
131-
if (self.writer !== writer) throw new Error('nah')
132-
console.log('ONERROR', arguments)
133130
self.onwrite(err)
134131
}
135132

@@ -152,7 +149,6 @@ WriteRequest.prototype.onwrite = function (err) {
152149
}
153150

154151
this.pool.push(this)
155-
if (err) console.log('ERROR HERE', err)
156152
req.callback(err, null)
157153
}
158154

0 commit comments

Comments
 (0)