Add analytics even on WSS failures in the wild
This commit is contained in:
parent
a45e2bd379
commit
c6ff3283d6
@ -356,6 +356,7 @@ __ __ _ __ ____ __
|
|||||||
if(image_url.startsWith(wssProtocol))
|
if(image_url.startsWith(wssProtocol))
|
||||||
{
|
{
|
||||||
// WebSocket protocol failed, try agin using plain HTTP
|
// WebSocket protocol failed, try agin using plain HTTP
|
||||||
|
plausible("WS Disk failure");
|
||||||
image_url = "https:" + image_url.substr(wssProtocol.length);
|
image_url = "https:" + image_url.substr(wssProtocol.length);
|
||||||
blockDevice = await CheerpX.CloudDevice.create(image_url);
|
blockDevice = await CheerpX.CloudDevice.create(image_url);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user