From 97ef78f5dd1282ec1f9c62dcb16ecfcd71dbd672 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 10 Dec 2023 18:53:58 -0700 Subject: [PATCH] add better debug logging for web-push info --- src/views/AccountViewView.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index b465d8742..8961a5fba 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -945,7 +945,10 @@ export default class AccountViewView extends Vue { } alertWebPushSubscription() { - console.log("Web push subscription:", this.subscription); + console.log( + "Web push subscription:", + JSON.parse(JSON.stringify(this.subscription)), // gives more info than plain console logging + ); alert(JSON.stringify(this.subscription)); } }