Skip to content

display runtime error #108

@feloy

Description

@feloy

When a runtime executes a CLI commands which fails, get the stdout/stderr, and send it to the command, so the stdout/stderr can be shown to the user.

A pattern similar to the StepLogger can be used, passing an interface to the manager/runtime:

type Logger interface {
  Stdout() io.Writer
  Stderr() io.Writer
}

Add a --show-logs flag to the appropriate commands

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions