canonical / craft-cli

https://canonical-craft-cli.readthedocs-hosted.com/en/latest/
GNU Lesser General Public License v3.0
9 stars 15 forks source link

fix: correctly print multi-line errors #270

Closed tigarmo closed 1 month ago

tigarmo commented 1 month ago

The bug manifested in a situation like this:

The "proper" fix for this would mean a big rework on the printer to properly support multi-line messages; for now, fix only the error case by "manually" splitting the error message and printing each line individually.

Fixes #263

lengau commented 1 month ago

noice.gif