fix sandbox exiting issue...
This commit is contained in:
@@ -1027,9 +1027,9 @@ def build(pspec):
|
|||||||
pb = Builder.from_name(pspec)
|
pb = Builder.from_name(pspec)
|
||||||
try:
|
try:
|
||||||
result = pb.build()
|
result = pb.build()
|
||||||
except ActionScriptException:
|
except ActionScriptException, e:
|
||||||
ctx.ui.error("Action script error caught.")
|
ctx.ui.error("Action script error caught.")
|
||||||
sys.exit(1)
|
raise e
|
||||||
finally:
|
finally:
|
||||||
ctx.ui.warning(_("*** %d error(s), %d warning(s)") % (ctx.ui.errors, ctx.ui.warnings))
|
ctx.ui.warning(_("*** %d error(s), %d warning(s)") % (ctx.ui.errors, ctx.ui.warnings))
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user