Skip to content

Commit

Permalink
fix: add catch for promise
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 25, 2020
1 parent 4b86dd9 commit 42af986
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export function activate(state) {

package_deps().then(() => {
setupTypeScript()
});
}).catch((e) => {
atom.notifications.addError("atom-ide-javascript failed in installing its dependencies.")
})
}

/**
Expand Down

0 comments on commit 42af986

Please sign in to comment.