client update debug logs

This commit is contained in:
Nuwan 2023-08-31 09:36:25 +05:30
parent d0966fe67a
commit fff48bf399
2 changed files with 2 additions and 0 deletions

View File

@ -357,6 +357,7 @@
$self.triggerHandler(EVENTS.CONNECTION_UP);
activeElementEvent("afterConnect", payload);
console.log('_DEBUG_ JamServer afterConnect', payload)
if (payload.client_update && context.JK.ClientUpdateInstance) {
context.JK.ClientUpdateInstance.runCheck(
payload.client_update.product,

View File

@ -284,6 +284,7 @@
url: "/api/versioncheck?product=" + product + "&os=" + os,
success: function (response) {
if(!jQuery.isEmptyObject(response)){
console.log('_DEBUG_ clientUpdate versioncheck response', response)
runCheck(product, response.version, response.uri, response.size, currentVersion);
}
},