CamilleTeruel commented on code in PR #4802:
URL: 
https://github.com/apache/incubator-devlake/pull/4802#discussion_r1150904611


##########
backend/core/utils/ipc.go:
##########
@@ -260,7 +260,8 @@ func scanErrorPipe(pipe io.ReadCloser, onReceive 
func([]byte), outboundChannel c
                        data := make([]byte, len(src))
                        copy(data, src)
                        onReceive(data)
-                       outboundChannel <- &ProcessResponse{stderr: data}
+                       err := errors.Default.New(string(data))

Review Comment:
   Oh right.
   I want to make sure that a command is considered a failure whenever 
python-side calls `logger.error(...)`.
   I made the change in `cmd.go:Stream` and `cmd.go:Call` instead.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to