Skip to content

Display command output on failure #166

@greg0ire

Description

@greg0ire

Feature Request

Q A
New Feature yes
RFC yes
BC Break no

Summary

Right now, potentially helpful output of external programs is not displayed on error, making it hard to troubleshoot them: https://github.com/doctrine/orm/runs/3782157355?check_suite_focus=true#step:4:18

I can think of 2 solutions:

  • catch the exception, and wrap it with another that includes the result of $e->getOutput() and $e->getErrorOutput()
  • file an issue on azjezz/psl so that the output is included in the exception's error message.

Cc @azjezz

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions