debug: stream stdout/stderr
This commit is contained in:
@@ -144,8 +144,10 @@ func TriggerCorePostExtract(appName string, sourceWorkDir string) error {
|
|||||||
if common.FileExists(processSpecificAppJSON) {
|
if common.FileExists(processSpecificAppJSON) {
|
||||||
common.LogInfo1("Validating app.json file")
|
common.LogInfo1("Validating app.json file")
|
||||||
result, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
|
result, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
|
||||||
Trigger: "app-json-is-valid",
|
Trigger: "app-json-is-valid",
|
||||||
Args: []string{appName, processSpecificAppJSON},
|
Args: []string{appName, processSpecificAppJSON},
|
||||||
|
StreamStdout: true,
|
||||||
|
StreamStderr: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if result.StderrContents() != "" {
|
if result.StderrContents() != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user