Skip to content

Commit

Permalink
Enhance error reporting in download method
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellevstek committed Nov 6, 2024
1 parent 5d8a5df commit 7e07be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resdk/resolwe.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def _download_files(
computed_md5 = md5(os.path.join(download_dir, file_path, file_name))
if expected_md5 != computed_md5:
raise ValueError(
f"Checksum of downloaded file {file_name} does not match the expected value."
f"Checksum ({computed_md5}) of downloaded file {file_name} does not match the expected value of {expected_md5}."
)

def data_usage(self, **query_params):
Expand Down

0 comments on commit 7e07be5

Please sign in to comment.