瀏覽代碼

log invalid response

pull/43/head
Jonathan Cobb 4 年之前
父節點
當前提交
b8deab1498
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bubble-server/src/main/resources/bubble/rule/bblock/BubbleBlockRuleDriver_stats.js.hbs

+ 1
- 1
bubble-server/src/main/resources/bubble/rule/bblock/BubbleBlockRuleDriver_stats.js.hbs 查看文件

@@ -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);
}
})


Loading…
取消
儲存