diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 3905c45e..b633a4e7 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -4239,8 +4239,8 @@ def auto_install_ndk(build): for n in ndk: _install_ndk(n) else: - BuildException(_('Invalid ndk: entry in build: "{ndk}"') - .format(ndk=str(ndk))) + raise BuildException(_('Invalid ndk: entry in build: "{ndk}"') + .format(ndk=str(ndk))) def _install_ndk(ndk):