Skip to content

Commit

Permalink
exception text: link to troubleshooting page (#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobertlo authored Aug 13, 2020
1 parent 9c772f5 commit 0092502
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dvc/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,11 @@ def __init__(self, target_infos, stats=None):
self.stats = stats
targets = [str(t) for t in target_infos]
m = (
"Checkout failed for following targets:\n{}\nDid you "
"forget to fetch?".format("\n".join(targets))
"Checkout failed for following targets:\n{}\nIs your "
"cache up to date?\n{}".format(
"\n".join(targets),
format_link("https://error.dvc.org/missing-files"),
)
)
super().__init__(m)

Expand Down

0 comments on commit 0092502

Please sign in to comment.