diff --git a/doc/api/stream.md b/doc/api/stream.md index d52b635efad739..cb6d23e52583ec 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -277,7 +277,9 @@ added: v0.9.4 The `'error'` event is emitted if an error occurred while writing or piping data. The listener callback is passed a single `Error` argument when called. -The stream is not closed when the `'error'` event is emitted. +The stream is not closed when the `'error'` event is emitted unless the +[`autoDestroy`][writable-new] option was set to `true` when creating the +stream. ##### Event: 'finish'