Browse Source

add msg attribute to ProjectError class

Signed-off-by: Anton Simernia <[email protected]>
Anton Simernia 9 years ago
parent
commit
4b01f6dcd6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compose/project.py

+ 2 - 1
compose/project.py

@@ -539,4 +539,5 @@ class NoSuchService(Exception):
 
 
 class ProjectError(Exception):
-    pass
+    def __init__(self, msg):
+        self.msg = msg