zulip/zerver/lib/markdown
Alex Vandiver b7bf9e41c7 markdown: Catch urllib3 exceptions which are raised during streaming.
requests transforms the base urllib3 exceptions into
requests.RequestExceptions -- but only within code that it is
running.  When parsing the streaming body in fetch_open_graph_image,
the read itself (inside lxml) may trigger urllib3 to raise its own
timeout error -- which escapes the current catch of
requests.RequestExceptions.

Catch both requests and urllib3 exceptions.
2024-05-24 14:54:53 -07:00
..
__init__.py markdown: Catch urllib3 exceptions which are raised during streaming. 2024-05-24 14:54:53 -07:00
api_arguments_table_generator.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
api_return_values_table_generator.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
fenced_code.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
help_emoticon_translations_table.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
help_relative_links.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
help_settings_links.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
include.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
nested_code_blocks.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
priorities.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
static.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00
tabbed_sections.py typos: Fix typos caught by typos. 2024-05-20 13:55:00 -07:00