aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/rtmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py
index 034875ab7..489381da6 100644
--- a/youtube_dl/downloader/rtmp.py
+++ b/youtube_dl/downloader/rtmp.py
@@ -160,7 +160,7 @@ class RtmpFD(FileDownloader):
retval = run_rtmpdump(args)
if retval == RD_NO_CONNECT:
- self.to_screen(u'[rtmpdump] Could not connect to RTMP server.')
+ self.report_error(u'[rtmpdump] Could not connect to RTMP server.')
return False
while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test: