Bundle: Redirects exception messages to output

First fix for #1505.