summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/plugins/deploy_plugin.py')
-rw-r--r--morphlib/plugins/deploy_plugin.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index ea84d9ec..65bf7140 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -542,10 +542,11 @@ class DeployPlugin(cliapp.Plugin):
build_command.cache_artifacts_locally([artifact])
f = build_command.lac.get(artifact)
else:
- raise cliapp.AppException('Deployment failed as system is'
- ' not yet built.\nPlease ensure'
- ' the system is built before'
- ' deployment.')
+ raise cliapp.AppException(
+ 'Deployment failed as built system is not present in the '
+ 'artifact cache.\nPlease ensure the system is built '
+ 'before deployment, and the artifact-cache-server (%s) is '
+ 'the correct one.' % build_command.rac)
tf = tarfile.open(fileobj=f)
tf.extractall(path=system_tree)