mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
Report no connect as error
This commit is contained in:
parent
52d6a9a61d
commit
826547870b
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ def run_rtmpdump(args):
|
||||||
retval = run_rtmpdump(args)
|
retval = run_rtmpdump(args)
|
||||||
|
|
||||||
if retval == RD_NO_CONNECT:
|
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
|
return False
|
||||||
|
|
||||||
while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test:
|
while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test:
|
||||||
|
|
Loading…
Reference in a new issue