add message
This commit is contained in:
parent
77f9c431f3
commit
28e5fc1be4
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ class GetYoutubeVideos:
|
||||||
return None
|
return None
|
||||||
return result
|
return result
|
||||||
if 'Unable to connect to proxy' in f"{error}":
|
if 'Unable to connect to proxy' in f"{error}":
|
||||||
|
self._log.error(
|
||||||
|
"Error connecting to proxy '%s'",
|
||||||
|
self.selected_proxy
|
||||||
|
)
|
||||||
self.summary['videos_with_error'] += 1
|
self.summary['videos_with_error'] += 1
|
||||||
self.summary['possible_proxy_errors'] += 1
|
self.summary['possible_proxy_errors'] += 1
|
||||||
result = self._change_proxy(video_id)
|
result = self._change_proxy(video_id)
|
||||||
|
|
Loading…
Reference in a new issue