Skip to content

Commit

Permalink
Merge pull request #95 from speakeasy-api/error_message
Browse files Browse the repository at this point in the history
feat: error message in github actions log proxy
  • Loading branch information
ryan-timothy-albert authored Mar 14, 2024
2 parents d621cf8 + 4157aed commit 49e9403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/actions/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func LogActionResult() error {
logMessage := "Success in Github Action"
if !strings.Contains(strings.ToLower(os.Getenv("GH_ACTION_RESULT")), "success") {
logLevel = logProxyLevelError
logMessage = "Failure in Github Action"
logMessage = fmt.Sprintf("Failure in Github Action: %s", os.Getenv("GH_ACTION_RESULT"))
}

request := logProxyEntry{
Expand Down

0 comments on commit 49e9403

Please sign in to comment.