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 1445886 commit 51245ceCopy full SHA for 51245ce
tools/toolchains/__init__.py
@@ -198,9 +198,9 @@ def check_toolchain_path(function):
198
"""
199
def perform_check(self, *args, **kwargs):
200
if not exists(self.toolchain_path):
201
- print('[ERROR] Toolchain path does not exist for %s.\n'
+ print('[ERROR] Toolchain path for %s does not exist.\n'
202
'Current value: %s' % (self.name, self.toolchain_path))
203
- sys.exit()
+ sys.exit(-1)
204
return function(self, *args, **kwargs)
205
return perform_check
206
0 commit comments