summaryrefslogtreecommitdiff
path: root/morphlib/workspace.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/workspace.py')
-rw-r--r--morphlib/workspace.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/morphlib/workspace.py b/morphlib/workspace.py
index 5a2eb86b..3a2269c8 100644
--- a/morphlib/workspace.py
+++ b/morphlib/workspace.py
@@ -35,7 +35,10 @@ class WorkspaceDirExists(morphlib.Error):
class NotInWorkspace(morphlib.Error):
def __init__(self, dirname):
- self.msg = 'Directory %s is not in a workspace' % dirname
+ self.msg = (
+ "Can't find the workspace directory.\n"
+ "Morph must be built and deployed within the "
+ "system branch checkout within the workspace directory.")
class Workspace(object):