Skip to content

feature: provide reason when it fails, dont remove newlines in log output#6

Open
adietish wants to merge 1 commit into
redhat-developer:mainfrom
adietish:proper_error_output
Open

feature: provide reason when it fails, dont remove newlines in log output#6
adietish wants to merge 1 commit into
redhat-developer:mainfrom
adietish:proper_error_output

Conversation

@adietish
Copy link
Copy Markdown
Contributor

No description provided.

…tput

Signed-off-by: Andre Dietisheim <adietish@redhat.com>
return 0
else
# fail
log $(oc exec -n ${DEVWORKSPACE_NS} ${podName} -c ${mainContainerName} -- cat /idea-server/std.out)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the point of log that all these message can be controlled (and silenced if wanted ?). With echo they are forcibly printed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree. the default mode is not intended to log too many.
if failures, the list of tests is displayed ( images/devfiles ) so you can tweak the accoring files, then re-run with -v that will verbose all the logs.

Copy link
Copy Markdown
Contributor Author

@adietish adietish May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're absolutely right. I oversaw that I completely skipped the ability to show/hide output with this patch. Reworking it. 🤦‍♂️

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.

3 participants