Don't rethrow exceptions on exit in release mode
remove fake throw statement