MCPcopy Index your code
hub / github.com/kivy/python-for-android / handle_build_exception

Function handle_build_exception

pythonforandroid/util.py:109–117  ·  view source on GitHub ↗

Handles a raised BuildInterruptingException by printing its error message and associated instructions, if any, then exiting.

(exception)

Source from the content-addressed store, hash-verified

107
108
109def handle_build_exception(exception):
110 """
111 Handles a raised BuildInterruptingException by printing its error
112 message and associated instructions, if any, then exiting.
113 """
114 error('Build failed: {}'.format(exception.message))
115 if exception.instructions is not None:
116 info('Instructions: {}'.format(exception.instructions))
117 exit(1)
118
119
120def rmdir(dn, ignore_errors=False):

Callers 1

mainFunction · 0.90

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected