Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 99708dc

Browse files
author
Parth Shah
committed
fixing tests
1 parent 2416665 commit 99708dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/submissions/submissions.controller.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ import angular from 'angular'
1414
try {
1515
a[1].undef
1616
} catch (e) {
17-
console.log('Raven', window.Raven)
18-
window.Raven.captureException(e)
19-
console.log(window.Raven.lastEventId())
17+
if (window.Raven) {
18+
window.Raven.captureException(e)
19+
console.log(window.Raven.lastEventId())
20+
}
2021
}
2122
if (vm.error) {
2223
vm.errorType = challengeToSubmitTo.error.type

0 commit comments

Comments
 (0)