Преглед на файлове

Add analytics even on WSS failures in the wild

Alessandro Pignotti преди 9 месеца
родител
ревизия
c6ff3283d6
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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);
 					}