8282 get_chat_with_notify ,
8383 safe_message ,
8484 truncate_display_filename ,
85- Solution
85+ Issues
8686)
8787
8888
@@ -1917,13 +1917,13 @@ def run(self) -> None:
19171917 record_error : bool = True
19181918 if str (e ) == '0' :
19191919 log .error ('「网络」或「代理问题」,在确保当前网络连接正常情况下检查:\n 「VPN」是否可用,「软件代理」是否配置正确。' )
1920- console .print (Solution .PROXY_NOT_CONFIGURED )
1920+ console .print (Issues .PROXY_NOT_CONFIGURED )
19211921 raise SystemExit (0 )
19221922 log .exception (f'运行出错,{ _t (KeyWord .REASON )} :"{ e } "' )
19231923 except pyrogram .errors .BadMsgNotification as e :
19241924 record_error : bool = True
19251925 if str (e ) in (str (pyrogram .errors .BadMsgNotification (16 )), str (pyrogram .errors .BadMsgNotification (17 ))):
1926- console .print (Solution .SYSTEM_TIME_NOT_SYNCHRONIZED )
1926+ console .print (Issues .SYSTEM_TIME_NOT_SYNCHRONIZED )
19271927 raise SystemExit (0 )
19281928 log .exception (f'运行出错,{ _t (KeyWord .REASON )} :"{ e } "' )
19291929 except (SessionRevoked , AuthKeyUnregistered , SessionExpired , Unauthorized ) as e :
@@ -1938,7 +1938,7 @@ def run(self) -> None:
19381938 record_error : bool = True
19391939 if not self .app .enable_proxy :
19401940 log .error (f'网络连接失败,请尝试配置代理,{ _t (KeyWord .REASON )} :"{ e } "' )
1941- console .print (Solution .PROXY_NOT_CONFIGURED )
1941+ console .print (Issues .PROXY_NOT_CONFIGURED )
19421942 else :
19431943 log .error (f'网络连接失败,请检查VPN是否可用,{ _t (KeyWord .REASON )} :"{ e } "' )
19441944 except AttributeError as e :
0 commit comments