lichen
lichen copied to clipboard
chore: improve error output
Changes returned error so that log would contain json value that failed to be parsed.
background: sometimes go mod download can print stuff that is not json (typically errors and/or warnings). Using combined output results in entire output (logs and all) to be parsed as json. This can result in an error and produce unclear output. This change suggests to make output more clear in this and possibly other cases.