mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| api_arguments_table_generator.py | ||
| api_return_values_table_generator.py | ||
| fenced_code.py | ||
| help_emoticon_translations_table.py | ||
| help_relative_links.py | ||
| help_settings_links.py | ||
| include.py | ||
| nested_code_blocks.py | ||
| priorities.py | ||
| static.py | ||
| tabbed_sections.py | ||