Merge pull request #8794 from qinghuayuci/fix/myloading-error-text-formatting
fix: MyLoading 网络异常时错误文本格式化有误
This commit is contained in:
@@ -76,8 +76,7 @@ Public Class MyLoading
|
|||||||
If Ex Is Nothing Then
|
If Ex Is Nothing Then
|
||||||
LabText.Text = "未知错误"
|
LabText.Text = "未知错误"
|
||||||
Else
|
Else
|
||||||
Ex = Ex.RootException()
|
LabText.Text = If(Ex.IsBadNetwork(), "网络环境不佳,请稍后再试,或使用 VPN 改善网络环境", Ex.GetDisplay(False))
|
||||||
LabText.Text = If(Ex.IsBadNetwork(), "网络环境不佳,请稍后再试,或使用 VPN 改善网络环境", Ex.Message)
|
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
LabText.Text = TextError
|
LabText.Text = TextError
|
||||||
|
|||||||
Reference in New Issue
Block a user