Skip to content
Snippets Groups Projects
Commit bb53809f authored by inso's avatar inso
Browse files

Ignore ssl errors

parent 0ab41f8a
No related branches found
No related tags found
No related merge requests found
...@@ -68,13 +68,13 @@ def async_exception_handler(loop, context): ...@@ -68,13 +68,13 @@ def async_exception_handler(loop, context):
logging.error('\n'.join(log_lines), exc_info=exc_info) logging.error('\n'.join(log_lines), exc_info=exc_info)
for line in log_lines: for line in log_lines:
for ignored in ("Unclosed", "socket.gaierror", "[Errno 110]"): for ignored in ("feed_appdata", "do_handshake", "Unclosed", "socket.gaierror", "[Errno 110]"):
if ignored in line: if ignored in line:
return return
if exc_info: if exc_info:
for line in traceback.format_exception(*exc_info): for line in traceback.format_exception(*exc_info):
for ignored in ("Unclosed", "socket.gaierror", "[Errno 110]"): for ignored in ("feed_appdata", "do_handshake", "Unclosed", "socket.gaierror", "[Errno 110]"):
if ignored in line: if ignored in line:
return return
exception_message(log_lines, exc_info) exception_message(log_lines, exc_info)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment