diff --git a/dvc/exceptions.py b/dvc/exceptions.py index 92c84ed0e..1beb8d6e1 100644 --- a/dvc/exceptions.py +++ b/dvc/exceptions.py @@ -47,7 +47,8 @@ class OutputDuplicationError(DvcException): ) msg = ( "file/directory '{}' is specified as an output in more than one " - "stage: {}" + "stage: {}\n" + "This is not allowed. Consider using a different output name." ).format(output, "\n ".join(stages)) super(OutputDuplicationError, self).__init__(msg)