Skip to content

Commit

Permalink
feat(frameworks): report start() errors back to server. (#3126)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton committed Sep 5, 2018
1 parent 74da748 commit 8257375
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion context/karma.js
Expand Up @@ -37,7 +37,11 @@ function ContextKarma (callParentKarmaMethod) {
this.loaded = function () {
// has error -> cancel
if (!hasError) {
this.start(this.config)
try {
this.start(this.config)
} catch (error) {
this.error(error.stack || error.toString())
}
}

// remove reference to child iframe
Expand Down

0 comments on commit 8257375

Please sign in to comment.