Skip to content

Commit

Permalink
Fix youtube_dl.utils.DownloadError being fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
desbma committed May 5, 2018
1 parent 51fae55 commit 426b81f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ def download_audio(review, track_urls):
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download(track_urls)
except youtube_dl.utils.DownloadError as e:
raise e
#raise e
# TODO catch timeout and retry
# already logged
# logging.getLogger().warning("Download error : %s" % (e))
pass
Expand Down

0 comments on commit 426b81f

Please sign in to comment.