aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-08-08 08:56:59 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-08-08 08:56:59 +0200
commit67fb0c5495eb336e74da243e83a65acbf0a3dba8 (patch)
tree41eddc45edab7f632ab855e06c81673f849b1d79 /youtube_dl/YoutubeDL.py
parent4efba05c56cda1cfe036b6ad8a4e8fc55cc21d4d (diff)
parent0f90943e455fd0e4f323fa6d43092060c8b1db61 (diff)
Merge branch 'master' of github.com:rg3/youtube-dl
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r--youtube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 3df653c5d..d1618da79 100644
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -547,7 +547,7 @@ class YoutubeDL(object):
try:
success = self.fd._do_download(filename, info_dict)
except (OSError, IOError) as err:
- raise UnavailableVideoError()
+ raise UnavailableVideoError(err)
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
self.report_error(u'unable to download video data: %s' % str(err))
return