Skip to content

display handlers should be able to output logs #1335

@qweeah

Description

@qweeah

Display handlers take care of formatting the output. It is possible that the output cannot be formatted, and handler need to output logs without terminating the whole execution.

E.g. when fetching a manifest, the content is successfully fetched but cannot be parsed into expected structure:

if err := json.Unmarshal(content, &manifest); err != nil {
manifest = nil
}

Currently such parsing errors are silently ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions