Add friendly info for HTTP request timeouts

This commit is contained in:
pizzaboxer 2023-08-23 19:30:04 +01:00
parent e318c98c41
commit 7a963c53f7
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -132,8 +132,9 @@ namespace Bloxstrap
if (ex.GetType() == typeof(HttpResponseException))
message = "Roblox may be down right now. See status.roblox.com for more information. Please try again later.";
if (ex.GetType() == typeof(AggregateException))
else if (ex.GetType() == typeof(TaskCanceledException))
message = "Bloxstrap timed out when trying to connect to three different Roblox deployment mirrors, indicating a poor internet connection. Please try again later.";
else if (ex.GetType() == typeof(AggregateException))
ex = ex.InnerException!;
Controls.ShowConnectivityDialog("Roblox", message, ex);