projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f8b271
)
[YoutubeDL] Use error_to_str
author
Sergey M․
<dstftw@gmail.com>
Sun, 20 Dec 2015 00:16:19 +0000
(06:16 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 20 Dec 2015 00:16:19 +0000
(06:16 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 26b3adb025432bfc39f1ba35a0723006e04d0d02..216b5a5db7f36f63b7f4214264b552e6a5779d2b 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-675,8
+675,8
@@
class YoutubeDL(object):
return self.process_ie_result(ie_result, download, extra_info)
else:
return ie_result
- except ExtractorError as
d
e: # An error we somewhat expected
- self.report_error(
compat_str(de), d
e.format_traceback())
+ except ExtractorError as e: # An error we somewhat expected
+ self.report_error(
error_to_str(e),
e.format_traceback())
break
except MaxDownloadsReached:
raise