Skip to content

Conversation

@rocketeerbkw
Copy link
Member

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

When using --output-json and the lagoon-cli attempts to render an Error or Info, the output is empty and errors are lost. This fixes RenderError and RenderInfo to print when --output-json flag is passed.

Note: There are some commands that will return BOTH Error and Info, or an Info and other output, which means it technically outputs invalid JSON, but I think that's better than now printing errors at all.

Closing issues

n/a

@rocketeerbkw rocketeerbkw force-pushed the fix-error-info-json-output branch from 43bba76 to dd300c0 Compare January 27, 2026 04:33
@shreddedbacon
Copy link
Member

Note: There are some commands that will return BOTH Error and Info, or an Info and other output, which means it technically outputs invalid JSON, but I think that's better than now printing errors at all.

Do you know which ones? I'd like to do sidebyside check for some of these

@rocketeerbkw
Copy link
Member Author

rocketeerbkw commented Jan 27, 2026 via email

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