summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-04-12 14:10:23 +0530
committerkushalpandya <kushal@gitlab.com>2017-04-12 14:10:23 +0530
commitf8044568d0b8eb1165be6bd9ffc60df9674fa739 (patch)
treee717ac960cd74608dda675f2f8a0f9c0a548426f
parentce076d601bcbe52efc2068746d842ada6f00f71e (diff)
downloadgitlab-ce-f8044568d0b8eb1165be6bd9ffc60df9674fa739.tar.gz
Put empty `catch` with issue reference
-rw-r--r--app/assets/javascripts/boards/components/new_list_dropdown.js2
-rw-r--r--app/assets/javascripts/boards/models/list.js2
-rw-r--r--app/assets/javascripts/boards/stores/boards_store.js2
-rw-r--r--app/assets/javascripts/filtered_search/filtered_search_manager.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/boards/components/new_list_dropdown.js b/app/assets/javascripts/boards/components/new_list_dropdown.js
index b7afc65724d..561f918797f 100644
--- a/app/assets/javascripts/boards/components/new_list_dropdown.js
+++ b/app/assets/javascripts/boards/components/new_list_dropdown.js
@@ -32,7 +32,7 @@
callback(resp);
})
.fail(() => {
- // an empty catch!
+ // https://gitlab.com/gitlab-org/gitlab-ce/issues/30821
});
},
renderRow (label) {
diff --git a/app/assets/javascripts/boards/models/list.js b/app/assets/javascripts/boards/models/list.js
index df2fbf0c424..d3a9ef736b0 100644
--- a/app/assets/javascripts/boards/models/list.js
+++ b/app/assets/javascripts/boards/models/list.js
@@ -150,7 +150,7 @@ class List {
listFrom.getIssues(false);
})
.catch(() => {
- // an empty catch!
+ // https://gitlab.com/gitlab-org/gitlab-ce/issues/30821
});
}
diff --git a/app/assets/javascripts/boards/stores/boards_store.js b/app/assets/javascripts/boards/stores/boards_store.js
index 71a713cb4db..de654ea081c 100644
--- a/app/assets/javascripts/boards/stores/boards_store.js
+++ b/app/assets/javascripts/boards/stores/boards_store.js
@@ -39,7 +39,7 @@ import Cookies from 'js-cookie';
this.state.lists = _.sortBy(this.state.lists, 'position');
})
.catch(() => {
- // an empty catch!
+ // https://gitlab.com/gitlab-org/gitlab-ce/issues/30821
});
this.removeBlankState();
},
diff --git a/app/assets/javascripts/filtered_search/filtered_search_manager.js b/app/assets/javascripts/filtered_search/filtered_search_manager.js
index 85dd478b10b..8ba9076aa8c 100644
--- a/app/assets/javascripts/filtered_search/filtered_search_manager.js
+++ b/app/assets/javascripts/filtered_search/filtered_search_manager.js
@@ -345,7 +345,7 @@ import eventHub from './event_hub';
this.recentSearchesService.save(resultantSearches);
}
}).catch(() => {
- // an empty catch!
+ // https://gitlab.com/gitlab-org/gitlab-ce/issues/30821
});
}