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

Confusing warnings using ERROR macro #107

Closed
2 tasks
nirs opened this issue Dec 6, 2024 · 0 comments · Fixed by #109
Closed
2 tasks

Confusing warnings using ERROR macro #107

nirs opened this issue Dec 6, 2024 · 0 comments · Fixed by #109
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nirs
Copy link
Member

nirs commented Dec 6, 2024

We use ERROR* macro for logging warnings, creating confusing output:

  WARNING: --vmnet-gateway=IP should be explicitly specified to avoid conflicting with other applications
  ERROR| WARNING: Running without root. This is very unlikely to work: See README.md
  ERROR| bind: Address already in use
  ERROR| socket_bindlisten: Address already in use

Tasks:

  • Add WARN, WARNF macros
  • Use the macro, replacing manual "WARNING:" prefix
@nirs nirs added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Dec 6, 2024
@AkihiroSuda AkihiroSuda mentioned this issue Dec 10, 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 good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant