Show the error of a deployment on its own lines in bref deployments:logs - #62
Merged
Merged
Conversation
…logs` The error was appended to the summary line, in parentheses. A deployment's error can now span several lines (the whole osls error, then a hint for known errors), which made that line hard to read. The summary stays on one line, and the error follows on its own lines, as `bref deploy` shows it. Claude-Session: https://claude.ai/code/session_01Awk33iZ9mDSg1xgSAPkgGK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bref deployments:logsprinted the deployment's error in parentheses at the end of its summary line. A deployment's error can now span several lines (the whole osls error, then a hint for known errors), so that line became hard to read:The summary now stays on one line, and the error follows on its own lines, as
bref deployshows it:The error is still printed even though it often repeats the end of the logs: its hint for known errors isn't in the logs, and neither is the error of a
bref.phpdeployment. As before, it goes to stderr, and--jsonis unchanged.