mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
Fail on sync when there is no match for glob.
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
a80a85e6bd
commit
e177f041c8
@@ -349,3 +349,9 @@ class CircularImportError(DvcException):
|
||||
class PrettyDvcException(DvcException):
|
||||
def __pretty_exc__(self, **kwargs):
|
||||
"""Print prettier exception message."""
|
||||
|
||||
|
||||
class GlobDoesNotMatchError(DvcException):
|
||||
def __init__(self, glob):
|
||||
msg = f"Glob {glob} has no matches."
|
||||
super().__init__(msg)
|
||||
|
||||
Reference in New Issue
Block a user