Skip to content

Commit

Permalink
update link for external data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored and efiop committed Jul 5, 2023
1 parent 63de16c commit 0d1f1f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dvc/stage/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ def _is_cached_external(out):
link = format_link(
"https://dvc.org/doc/user-guide/pipelines/external-dependencies-and-outputs"
)
if stage.is_data_source:
link = format_link(
"https://dvc.org/doc/user-guide/data-management/importing-external-data"
)
raise StageExternalOutputsError(
f"Cached output(s) outside of DVC project: {str_outs}. "
f"See {link} for more info."
Expand Down

0 comments on commit 0d1f1f6

Please sign in to comment.