Page MenuHomeVyOS Platform

Python: ConfigError should insert line breaks into the error message
Closed, ResolvedPublicFEATURE REQUEST


Not every user has a super wide display and in the console world there is the ancient 80/25 character "limit".

As we simply show the error message when ConfigError() is triggered this can span over the entire
screen. We should invoke textwrap to automatically split the text at 72 characters to have a uniform
length used all over the system when error messages are shown.


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Cosmetic issue (typos etc.)

Event Timeline

c-po changed the task status from Open to In progress.Dec 10 2021, 7:47 PM
c-po claimed this task.
c-po triaged this task as Wishlist priority.
c-po created this task.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Behavior change.
c-po changed Issue type from Unspecified (please specify) to Cosmetic issue (typos etc.).
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.0) board.