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

Make unimportant errors in console less prominent #71

Closed
Ppjet6 opened this issue Jan 20, 2023 · 2 comments
Closed

Make unimportant errors in console less prominent #71

Ppjet6 opened this issue Jan 20, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Ppjet6
Copy link
Contributor

Ppjet6 commented Jan 20, 2023

Is your feature request related to a problem? Please describe.
As a dev, and with xmpp-web configured for sasl anon only, when opening the console I see lots of red. Potential tracebacks everywhere. It's "just" features for which service-unavailable is received.

Describe the solution you'd like
Most of these tracebacks could be made slightly less prominent as they're not hindering the user experience.

Describe alternatives you've considered
Maybe some of them can be downgraded to warning?
I don't know if it's possible to keep them as errors without having them expanded by default so that they don't stand out as much.

Additional context
For example "roster" and "bookmarks" (PEP) are probably not going to be loaded on an anonymous host, even though it's technically possible. "carbons" is not usable for sasl anon as one can't spawn another client with the same address. These are the three I get all the time.

@Ppjet6 Ppjet6 added the enhancement New feature or request label Jan 20, 2023
@nioc nioc self-assigned this Jan 20, 2023
@nioc
Copy link
Owner

nioc commented Jan 20, 2023

Agreed to set these as warning.

@nioc
Copy link
Owner

nioc commented Jan 21, 2023

I wrote a function for handling Error: if Stanza Error it will warn, otherwise default behavior (for keeping a code error tracking).

@nioc nioc added this to the 0.9.5 milestone Jan 21, 2023
@nioc nioc closed this as completed in 0bcf178 Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants