diff options
Diffstat (limited to 'app/assets/javascripts/repo/index.js')
-rw-r--r-- | app/assets/javascripts/repo/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/repo/index.js b/app/assets/javascripts/repo/index.js index f2e86384fb5..0e029ccaf3f 100644 --- a/app/assets/javascripts/repo/index.js +++ b/app/assets/javascripts/repo/index.js @@ -37,6 +37,9 @@ function setInitialStore(dataset) { Store.checkIsCommitable(); Service.branchSingle() .then(Store.setBranchHash); + .catch(() => { + Flash('There was a problem initializing the repo editor.'); + }); } function initRepo(el) { |