mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-05-13 11:44:44 -07:00
Add friendly info for HTTP request timeouts
This commit is contained in:
parent
e318c98c41
commit
7a963c53f7
@ -132,8 +132,9 @@ namespace Bloxstrap
|
|||||||
|
|
||||||
if (ex.GetType() == typeof(HttpResponseException))
|
if (ex.GetType() == typeof(HttpResponseException))
|
||||||
message = "Roblox may be down right now. See status.roblox.com for more information. Please try again later.";
|
message = "Roblox may be down right now. See status.roblox.com for more information. Please try again later.";
|
||||||
|
else if (ex.GetType() == typeof(TaskCanceledException))
|
||||||
if (ex.GetType() == typeof(AggregateException))
|
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!;
|
ex = ex.InnerException!;
|
||||||
|
|
||||||
Controls.ShowConnectivityDialog("Roblox", message, ex);
|
Controls.ShowConnectivityDialog("Roblox", message, ex);
|
||||||
|
Loading…
Reference in New Issue
Block a user