You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example in the instructions uses response.pipe(concatStream(function (data) { /* ... */ })). Trying to modify this for error handling as a best practice as response.pipe(concatStream(function (err, data) { /* ... */ })) fails.
This can be simply fixed by changing the instructions/example to use concat-stream-callback instead of concat-stream. Thus,
var concatStreamCallback = require('concat-stream-callback');
response.pipe(concatStreamCallback(function (err, data) {/* ... */}))
The text was updated successfully, but these errors were encountered:
The example in the instructions uses
response.pipe(concatStream(function (data) { /* ... */ }))
. Trying to modify this for error handling as a best practice asresponse.pipe(concatStream(function (err, data) { /* ... */ }))
fails.This can be simply fixed by changing the instructions/example to use
concat-stream-callback
instead ofconcat-stream
. Thus,The text was updated successfully, but these errors were encountered: