Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging service-worker #650

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

milenakrawczyk
Copy link
Contributor

Additional logs and subscriptionError in localStorage.

@vercel
Copy link

vercel bot commented Oct 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
near-discovery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2023 1:04pm
near-discovery-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2023 1:04pm

const accountIdLS = getLSAccountId();
const localStorageByAccountId = getNotificationLocalStorage();

const errorMessage = error.message ? error.message : "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@milenakrawczyk perhaps we should record "unknown" instead of "" as this could be understood as 'no error occurred'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, '' was confusing. I fixed it.

@milenakrawczyk milenakrawczyk merged commit d83a2fd into develop Oct 3, 2023
3 checks passed
@milenakrawczyk milenakrawczyk deleted the debugging-service-worker branch October 3, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants