Skip to content

Conversation

@olehermanse
Copy link
Member

No description provided.

In my case, I was encountering another exception, FileNotFoundError.
This is not expected, and it makes sense to use the nicer printing
instead of a big ugly stacktrace. In many cases the single line
error message is enough, and the stacktrace doesn't add any value.
You can still set the env var to get the full stacktrace.

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
The exception could happen in the middle of something printing on a line,
such as "Spawning...". In that case the error looks ugly and it's better
to go to a new line.

Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
@olehermanse olehermanse merged commit 6906ecc into cfengine:master Nov 17, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants