Skip to content

Commit

Permalink
Update dagshub/common/download.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon L <simon@dagshub.com>
  • Loading branch information
kbolashev and simonlsk authored Jul 21, 2024
1 parent 619fd51 commit ede3ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dagshub/common/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ede3ddc

Please sign in to comment.