소스 검색

No need to log cache misses

JC Brand 3 년 전
부모
커밋
059795c0f3
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/plugins/bookmark-views/bookmarks-list.js

+ 1 - 5
src/plugins/bookmark-views/bookmarks-list.js

@@ -1,4 +1,3 @@
-import log from '@converse/headless/log.js';
 import tpl_bookmarks_list from './templates/list.js';
 import { CustomElement } from 'shared/components/element.js';
 import { _converse, api } from '@converse/headless/core.js';
@@ -25,10 +24,7 @@ export default class BookmarksView extends CustomElement {
 
         this.model.fetch({
             'success': () => this.requestUpdate(),
-            'error': (_m, err) => {
-                log.error(err);
-                this.requestUpdate();
-            }
+            'error': () => this.requestUpdate(),
         });
     }