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

Silent errors for offline PWA #188

Closed
Tymek opened this issue Dec 28, 2023 · 3 comments
Closed

Silent errors for offline PWA #188

Tymek opened this issue Dec 28, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed stale

Comments

@Tymek
Copy link
Member

Tymek commented Dec 28, 2023

Describe the feature request

I am trying to get rid of the console error Unleash: unable to fetch feature toggles TypeError: Failed to fetch when our PWA is offline. We are using the React Client, is there a way to remove the errors while offline?

Background

https://unleash-community.slack.com/archives/C03GWTN7XMG/p1702460982222809

Solution suggestions

I think we could introduce "silent" mode or log verbosity. Here is the line responsible for console errors, but console.error is in use also in other places:

console.error('Unleash: unable to fetch feature toggles', e);

@Tymek Tymek added the enhancement New feature or request label Dec 28, 2023
@Tymek Tymek moved this from New to Todo in Issues and PRs Dec 28, 2023
@mortengjesing
Copy link

A log verbosity would be nice 😄

@Tymek Tymek added the help wanted Extra attention is needed label Jan 8, 2024
Copy link

stale bot commented Feb 7, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 7, 2024
@stale stale bot closed this as completed Feb 17, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Feb 17, 2024
@ivarconr ivarconr reopened this Feb 18, 2024
@stale stale bot removed the stale label Feb 18, 2024
@github-project-automation github-project-automation bot moved this from Done to New in Issues and PRs Feb 18, 2024
@thomasheartman thomasheartman moved this from New to Todo in Issues and PRs Mar 4, 2024
Copy link

stale bot commented Mar 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 19, 2024
@stale stale bot closed this as completed Mar 30, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed stale
Projects
None yet
Development

No branches or pull requests

3 participants