Added custom exception descriptions to FAILED.json file

This commit is contained in:
Ali Parlakci
2018-07-19 14:56:00 +03:00
parent 6bba2c4dbb
commit fde6a1fac4
3 changed files with 10 additions and 5 deletions

View File

@@ -539,7 +539,7 @@ def download(submissions):
downloadedCount -= 1
except NotADownloadableLinkError as exception:
print("Could not read the page source")
print(exception)
FAILED_FILE.add({int(i+1):[str(exception),submissions[i]]})
downloadedCount -= 1