Skip to content

Commit

Permalink
Document error notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Schinkowitch committed Sep 14, 2016
1 parent 4388cb6 commit 0f1cb00
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ var log = bunyan.createLogger({
type: 'raw',
level: 'info',
}]
};
};
myStream.on('error', function (err) {
console.error('Error in Cloud Watch stream', err);
});
````

## Configuration
Expand Down

0 comments on commit 0f1cb00

Please sign in to comment.