Administrator 3 months ago
parent
commit
1b50793fb5
  1. 4
      Class/TcpServer.cs

4
Class/TcpServer.cs

@ -68,7 +68,7 @@ namespace SunlightAggregationTerminal.Class
} }
catch (Exception ex) catch (Exception ex)
{ {
await Application.Current!.Windows[0].Page!.DisplayAlertAsync("错误", ex.ToString(), "是"); await Application.Current!.Windows[0].Page!.DisplayAlertAsync("错误", ex.Message.ToString(), "是");
} }
} }
@ -165,7 +165,7 @@ namespace SunlightAggregationTerminal.Class
} }
catch (Exception ex) catch (Exception ex)
{ {
await Application.Current!.Windows[0].Page!.DisplayAlertAsync("错误", ex.ToString(), "是"); await Application.Current!.Windows[0].Page!.DisplayAlertAsync("网络错误", ex.Message.ToString(), "是");
} }
} }
} }

Loading…
Cancel
Save