Improve error handling in ow:console.
Merge pull request #13 from dblock/improve-errors

@joeyAghion => Improve error handling in ow:console.