diff --git a/dagshub/common/download.py b/dagshub/common/download.py index 515673c3..1c15cc5d 100644 --- a/dagshub/common/download.py +++ b/dagshub/common/download.py @@ -130,7 +130,7 @@ def download_url_to_bucket_path(url: str) -> Optional[Tuple[str, str, str]]: class DownloadError(Exception): def __init__(self, response: Response): self.response = response - super().__init__("Download failed with status code {response.status_code}") + super().__init__(f"Download failed with status code {response.status_code}") def is_download_server_error(error: BaseException) -> bool: