From a1d128dfcda97afe25c525dba2cc904644ec4523 Mon Sep 17 00:00:00 2001 From: Robert Lowry Date: Tue, 4 Aug 2020 19:44:27 -0500 Subject: [PATCH] exception text: link to troubleshooting page --- dvc/exceptions.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dvc/exceptions.py b/dvc/exceptions.py index 204c378fdd..db7760eeb5 100644 --- a/dvc/exceptions.py +++ b/dvc/exceptions.py @@ -268,8 +268,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)