From 826547870bf83da1c8a57ff1ed812cb598f82520 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Wed, 5 Mar 2014 22:21:19 +0700 Subject: [PATCH] Report no connect as error --- youtube_dl/downloader/rtmp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.22.2