File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,23 @@ const kstoAppStoreLink = 'itms://itunes.apple.com/us/app/ksto/id953916647'
2424const kstoWebPage = 'https://www.stolaf.edu/multimedia/play/embed/ksto.html'
2525const 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+
2732function 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
3540function 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}
You can’t perform that action at this time.
0 commit comments