|
|
@@ -19,7 +19,7 @@ const {{JS_PREFIX}}_app_refresh_interval = window.setInterval(function () { |
|
|
|
try { |
|
|
|
return resp.json(); |
|
|
|
} catch (error) { |
|
|
|
console.log('cancelling window.interval, response not json'); |
|
|
|
console.log('cancelling window.interval, response not json: '+JSON.stringify(resp)); |
|
|
|
window.clearInterval({{JS_PREFIX}}_app_refresh_interval); |
|
|
|
} |
|
|
|
}) |
|
|
|