diff options
| author | user <nobody> | 2013-08-05 19:43:09 -0700 | 
|---|---|---|
| committer | user <nobody> | 2013-08-05 19:43:09 -0700 | 
| commit | 7edcb8f39cac73bb048a9543a3ac5cc82749a470 (patch) | |
| tree | 52ce12934746829d5128450d147e1f92b67a923d /youtube_dl/YoutubeDL.py | |
| parent | 39b782b390f4a57514466aa6e1793910a12b1e4b (diff) | |
More informative error
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
| -rw-r--r-- | youtube_dl/YoutubeDL.py | 2 | 
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 | 
