Raise the Exception when a symlink cannot be created.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-10-12 16:39:41 -04:00
parent da590d559e
commit e117c904c7
No known key found for this signature in database
GPG Key ID: 7844CCB83BDD2462

View File

@ -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)