This commit is contained in:
parent
4dc79f852a
commit
9c274081f8
|
@ -660,7 +660,7 @@ func GoGetHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
channelRet["output"] = string(buf)
|
channelRet["output"] = string(buf)
|
||||||
|
|
||||||
if nil != err {
|
if nil != err {
|
||||||
glog.V(3).Infof("Session [%s] 's running [go get] [runningId=%d] has done (with error: %s)", sid, runningId, err.Error)
|
glog.V(3).Infof("Session [%s] 's running [go get] [runningId=%d] has done (with error: %s)", sid, runningId, err.Error())
|
||||||
|
|
||||||
channelRet["output"] = "<span class='get-failed'>" + i18n.Get(r, "get-failed").(string) + "</span>\n" + string(buf)
|
channelRet["output"] = "<span class='get-failed'>" + i18n.Get(r, "get-failed").(string) + "</span>\n" + string(buf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue