GoogleCloudPlatform / GoogleCloudPlatform/appengine-plugins

Log error (stdout and stderr) on command failures (non-zero exits) for Managed Cloud SDK processes

Open
#991 8 comments 0 reactions 0 assignees View on GitHub
enhancement p3
Dominant language
Java
Stars
47
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Currently, when command fails (such as `ManagedCloudSDK.isUpToDate()`) fails, there is no insight into detailed error message, even though, error message is captured in `CommandExitException`.

https://github.com/GoogleCloudPlatform/appengine-plugins-core/blob/master/src/main/java/com/google/cloud/tools/managedcloudsdk/ManagedCloudSdk.java#L162

Suggest that upon `CommandExitException`, log error with high priority and/or propagate to the wrapping Exception, or, use it as part of the message of `CommandExitException`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.