Skip to content
Snippets Groups Projects
Commit 86aaebaa authored by Alan De Smet's avatar Alan De Smet
Browse files

Fix API use error message

parent 52f10dde
No related branches found
No related tags found
No related merge requests found
......@@ -693,7 +693,7 @@ class Downloader:
if oldest_usable < timedelta(days=0):
raise ValueError(f"oldest_usable should be positive; it is {oldest_usable}")
if epoch_start > IMPLAUSIBLY_DISTANT_FUTURE:
raise ValueError(f"oldest_usable should be positive; it is {oldest_usable}")
raise ValueError(f"epoch_start should be less than {IMPLAUSIBLY_DISTANT_FUTURE}; it is {epoch_start}")
self.name = name
self.package_env_id = package_env_id
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment