Skip to content

Commit

Permalink
plots: improve non-out error message (iterative#4115)
Browse files Browse the repository at this point in the history
* plot: link to cmd ref in output

* plots: change non-plot output error msg
per iterative#3994 (comment)

* Update dvc/repo/plots/__init__.py

Co-authored-by: Ruslan Kuprieiev <[email protected]>

Co-authored-by: Ruslan Kuprieiev <[email protected]>
  • Loading branch information
jorgeorpinel and efiop authored Jun 25, 2020
1 parent ad306d7 commit 81a4cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dvc/repo/plots/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
class NotAPlotError(DvcException):
def __init__(self, out):
super().__init__(
f"'{out}' is not a plot. Use `dvc plots modify` to change that."
f"'{out}' is not a known plot. Use `dvc plots modify` to turn it "
"into one."
)


Expand Down

0 comments on commit 81a4cea

Please sign in to comment.