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

Fix connection errors #414

Merged
merged 2 commits into from
Mar 18, 2024
Merged

Conversation

fluca1978
Copy link
Collaborator

Fixes the connection errors:

  • when dealing with faulty JSON commands
  • when using status details

This commit fix the "connection error" that appearead at the end of
the command `status details` output in pure text mode.

It also makes the numeration of connections consistent between the
JSON and text output, and changes the numeration of the connections
starting from 1 instead of 0.

It also adds some better management of the text "header bar" when
changing a section, so to avoid repetition of double lines.

Close agroal#413
This commit fixes a wrong "management error" when dealing with a
faulty JSON command: a faulty command still needs to be printed, not
to be reported as a management error.

Close agroal#412
@jesperpedersen jesperpedersen self-requested a review March 18, 2024 12:52
@jesperpedersen jesperpedersen added the bug Something isn't working label Mar 18, 2024
@jesperpedersen jesperpedersen merged commit 411dd98 into agroal:master Mar 18, 2024
2 checks passed
@jesperpedersen
Copy link
Collaborator

Merged.

Thanks for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants