Skip to content

Commit

Permalink
Add DEBUG messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Aug 12, 2020
1 parent 47541de commit c76607d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dandi/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,11 @@ def _download_file(
blob1 = writer.read(len(block))
if blob1 == block:
downloaded += len(block)
lgr.debug("Resuming earlier download")
continue
else:
downloaded = 0
lgr.debug("Could not resume earlier download")
break
first = False
if digester:
Expand Down

0 comments on commit c76607d

Please sign in to comment.