Skip to content

Commit f41476b

Browse files
committed
disable ksto error handling
1 parent 13545c5 commit f41476b

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

source/views/streaming/radio.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,23 @@ const kstoAppStoreLink = 'itms://itunes.apple.com/us/app/ksto/id953916647'
2424
const kstoWebPage = 'https://www.stolaf.edu/multimedia/play/embed/ksto.html'
2525
const image = require('../../../images/streaming/ksto/ksto-logo.png')
2626

27+
/*
28+
* I disabled the ga/bugsnag tracking here because dismissing the dialogs
29+
* causes us to get an error... and I can't really see how these would fail?
30+
*/
31+
2732
function kstoWebsite() {
2833
Linking.openURL(kstoWebPage).catch(err => {
29-
tracker.trackException(`opening Android KSTO url: ${err.message}`)
30-
bugsnag.notify(err)
34+
//tracker.trackException(`opening Android KSTO url: ${err.message}`)
35+
//bugsnag.notify(err)
3136
console.warn('An error occurred opening the Android KSTO url', err)
3237
})
3338
}
3439

3540
function iosKstoAppDownload() {
3641
Linking.openURL(kstoAppStoreLink).catch(err => {
37-
tracker.trackException(`opening KSTO download url: ${err.message}`)
38-
bugsnag.notify(err)
42+
//tracker.trackException(`opening KSTO download url: ${err.message}`)
43+
//bugsnag.notify(err)
3944
console.warn('An error occurred opening the KSTO download url', err)
4045
})
4146
}
@@ -50,8 +55,8 @@ function iosKstoApp() {
5055
return Linking.openURL(kstoProtocol)
5156
})
5257
.catch(err => {
53-
tracker.trackException(`opening iOS KSTO url: ${err.message}`)
54-
bugsnag.notify(err)
58+
//tracker.trackException(`opening iOS KSTO url: ${err.message}`)
59+
//bugsnag.notify(err)
5560
console.warn('An error occurred opening the iOS KSTO url', err)
5661
})
5762
}

0 commit comments

Comments
 (0)