Fix "TypeError: e.t0.response is undefined" spam from user_status

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2021-08-20 16:56:34 +02:00
parent 98e2dce3a4
commit e6b579351d
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -163,7 +163,7 @@ export default {
await this.$store.dispatch('reFetchStatusFromServer')
}
} catch (error) {
console.debug('Failed sending heartbeat, got: ' + error.response.status)
console.debug('Failed sending heartbeat, got: ' + error.response?.status)
}
},
},