exception will now be exposed for console applications for easier debugging