Skip to content

Commit

Permalink
Add ssl errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Oct 19, 2024
1 parent 384007a commit 5fa13c0
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 104 deletions.
4 changes: 4 additions & 0 deletions bot/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io
import mimetypes
import os
import ssl
import random
import re
import tempfile
Expand All @@ -21,6 +22,9 @@
requests_exceptions.SSLError,
aiohttp.ClientSSLError,
aiohttp.ClientConnectorSSLError,
ssl.SSLError,
requests_exceptions.Timeout,
requests_exceptions.ConnectionError,
)


Expand Down
Loading

0 comments on commit 5fa13c0

Please sign in to comment.