Error screen shows exception in release mode