summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authoruser <nobody>2013-08-05 19:43:09 -0700
committeruser <nobody>2013-08-05 19:43:09 -0700
commit7edcb8f39cac73bb048a9543a3ac5cc82749a470 (patch)
tree52ce12934746829d5128450d147e1f92b67a923d /youtube_dl/YoutubeDL.py
parent39b782b390f4a57514466aa6e1793910a12b1e4b (diff)
downloadyoutube-dl-7edcb8f39cac73bb048a9543a3ac5cc82749a470.tar.gz
youtube-dl-7edcb8f39cac73bb048a9543a3ac5cc82749a470.zip
More informative error
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 496866900..b51083154 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