Skip to content

Improve error messages#3898

Open
christoph-zededa wants to merge 2 commits intolinuxkit:masterfrom
christoph-zededa:improve_error_messages
Open

Improve error messages#3898
christoph-zededa wants to merge 2 commits intolinuxkit:masterfrom
christoph-zededa:improve_error_messages

Conversation

@christoph-zededa
Copy link
Copy Markdown
Contributor

@christoph-zededa christoph-zededa commented Jan 15, 2023

- What I did
Improving error messages in case of failure

- How I did it
One case: simply fixing the format string
Other case: getting the output into a bytes.Buffer and adding it to the returned Error

- How to verify it
Probably the easiest way is to just review and read the code.

- Description for the changelog
Improving error messages

- A picture of a cute animal (not mandatory but encouraged)

 ______________________________________
/ This is PR is of low priority, but   \
| perhaps helps users in case they run |
\ into an error                        /
 --------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

if starting the builder container fails, return the error message
from docker

Signed-off-by: Christoph Ostarek <[email protected]>
'-output' is now called '--o'

Signed-off-by: Christoph Ostarek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant