🐛 TCP: Fix exception message
This commit is contained in:
parent
cafc997df1
commit
7178b4b1db
@ -24,14 +24,12 @@ import time
|
||||
|
||||
try:
|
||||
import socks
|
||||
except ImportError as e:
|
||||
e.msg = (
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"PySocks is missing and Pyrogram can't run without. "
|
||||
"Please install it using \"pip3 install pysocks\"."
|
||||
)
|
||||
|
||||
raise e
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user