Do not suppress errors from packaging android build.

This commit is contained in:
Josh Matthews 2018-09-20 14:12:37 -04:00 committed by GitHub
parent ac331c6663
commit eb9e408396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -406,8 +406,10 @@ class MachCommands(CommandBase):
# Do some additional things if the build succeeded
if status == 0:
if android and not no_package:
Registrar.dispatch("package", context=self.context,
release=release, dev=dev, target=target)
rv = Registrar.dispatch("package", context=self.context,
release=release, dev=dev, target=target)
if rv:
return rv
if sys.platform == "win32":
servo_exe_dir = path.join(base_path, "debug" if dev else "release")