Bundle: Redirects exception messages to output.
First fix for #1505.
Merge pull request #1507 from am11/master

Bundle: Redirects exception messages to output