Skip to content

Commit

Permalink
Avoiding confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitor Mattos committed Nov 3, 2014
1 parent dd77511 commit f8c7491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -54,7 +54,7 @@ To easily handle errors when streaming requests, listen to the `error` event bef
request
.get('http://mysite.com/doodle.png')
.on('error', function(err) {
handleError(err)
console.log(err)
})
.pipe(fs.createWriteStream('doodle.png'))
```
Expand Down

0 comments on commit f8c7491

Please sign in to comment.