Skip to content

Commit 8257375

Browse files
authoredSep 5, 2018
feat(frameworks): report start() errors back to server. (#3126)
1 parent 74da748 commit 8257375

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎context/karma.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ function ContextKarma (callParentKarmaMethod) {
3737
this.loaded = function () {
3838
// has error -> cancel
3939
if (!hasError) {
40-
this.start(this.config)
40+
try {
41+
this.start(this.config)
42+
} catch (error) {
43+
this.error(error.stack || error.toString())
44+
}
4145
}
4246

4347
// remove reference to child iframe

0 commit comments

Comments
 (0)
Please sign in to comment.