Raise the Exception when a symlink cannot be created.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
da590d559e
commit
e117c904c7
@ -450,6 +450,7 @@ def run_compose(compose, create_latest_link=True, latest_link_status=None):
|
|||||||
os.symlink(compose_dir, symlink)
|
os.symlink(compose_dir, symlink)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
compose.log_error("Couldn't create latest symlink: %s" % ex)
|
compose.log_error("Couldn't create latest symlink: %s" % ex)
|
||||||
|
raise
|
||||||
|
|
||||||
compose.log_info("Compose finished: %s" % compose.topdir)
|
compose.log_info("Compose finished: %s" % compose.topdir)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user