We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c86d9ec commit 9f8e300Copy full SHA for 9f8e300
pythonforandroid/bootstraps/common/build/build.py
@@ -260,7 +260,13 @@ def compile_dir(dfn, optimize_python=True):
260
if optimize_python:
261
# -OO = strip docstrings
262
args.insert(1, '-OO')
263
- subprocess.call(args)
+ return_code = subprocess.call(args)
264
+
265
+ if return_code != 0:
266
+ print('Error while running "{}"'.format(' '.join(args)))
267
+ print('This probably means one of your Python files has a syntax '
268
+ 'error, see logs above')
269
+ exit(1)
270
271
272
def make_package(args):
0 commit comments