Fix:Android app crash when switching server while player open #1336

- Wrap requests in try/catch to prevent app crash for bad requests
This commit is contained in:
advplyr 2024-11-03 14:53:35 -06:00
parent 102fd1f1a1
commit d902417959
5 changed files with 51 additions and 25 deletions

View file

@ -177,10 +177,6 @@ export default {
}
}
},
userLoggedOut() {
// Only cancels stream if streamining not playing downloaded
this.$eventBus.$emit('close-stream')
},
socketConnectionFailed(err) {
this.$toast.error('Socket connection error: ' + err.message)
},