This commit is contained in:
parent
7b47fe27b2
commit
4dc79f852a
|
@ -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)", sid, runningId)
|
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