Sfoglia il codice sorgente

Add analytics even on WSS failures in the wild

Alessandro Pignotti 9 mesi fa
parent
commit
c6ff3283d6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      index.html

+ 1 - 0
index.html

@@ -356,6 +356,7 @@ __      __   _  __   ____  __
 					if(image_url.startsWith(wssProtocol))
 					{
 						// WebSocket protocol failed, try agin using plain HTTP
+						plausible("WS Disk failure");
 						image_url = "https:" + image_url.substr(wssProtocol.length);
 						blockDevice = await CheerpX.CloudDevice.create(image_url);
 					}