Skip to content

Commit 447acd0

Browse files
committed
Make release errors very visible
1 parent e9d5609 commit 447acd0

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

tools/build_release.py

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -168,23 +168,16 @@
168168
toolchains = toolchainSet.intersection(set((options.toolchains).split(',')))
169169

170170
for toolchain in toolchains:
171-
id = "%s::%s" % (target_name, toolchain)
172-
173-
profile = extract_profile(parser, options, toolchain)
174-
notify = TerminalNotifier(options.verbose)
175-
176-
try:
177-
built_mbed_lib = build_mbed_libs(TARGET_MAP[target_name],
178-
toolchain,
179-
notify=notify,
180-
jobs=options.jobs,
181-
report=build_report,
182-
properties=build_properties,
183-
build_profile=profile)
184-
185-
except Exception, e:
186-
print str(e)
187-
status = False
171+
built_mbed_lib = build_mbed_libs(
172+
TARGET_MAP[target_name],
173+
toolchain,
174+
notify=TerminalNotifier(options.verbose),
175+
jobs=options.jobs,
176+
report=build_report,
177+
properties=build_properties,
178+
build_profile=extract_profile(parser, options, toolchain),
179+
)
180+
188181

189182
# copy targets.json file as part of the release
190183
copy(join(dirname(abspath(__file__)), '..', 'targets', 'targets.json'), MBED_LIBRARIES)

0 commit comments

Comments
 (0)