Skip to content

Commit 4a19b7d

Browse files
committed
[REF] Changed 'print' for 'logger.error' in the case of Compose File not found.
1 parent 8838cc7 commit 4a19b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docky/common/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def __init__(self):
1414
try:
1515
self.project = docker.compose.config(return_json=True)
1616
except:
17-
print("No docker-compose found, create one with :")
18-
print("$ docky init")
17+
logger.error("No docker-compose file found, create one with :")
18+
logger.error("$ docky init")
1919
exit(-1)
2020

2121
self.name = self.project.get("name")

0 commit comments

Comments
 (0)